public class Script extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__flags
Field descriptor (offset) for struct member 'flags'.
|
static long[] |
__DNA__FIELD__id
Field descriptor (offset) for struct member 'id'.
|
static long[] |
__DNA__FIELD__lastspace
Field descriptor (offset) for struct member 'lastspace'.
|
static long[] |
__DNA__FIELD__py_browsercallback
Field descriptor (offset) for struct member 'py_browsercallback'.
|
static long[] |
__DNA__FIELD__py_button
Field descriptor (offset) for struct member 'py_button'.
|
static long[] |
__DNA__FIELD__py_draw
Field descriptor (offset) for struct member 'py_draw'.
|
static long[] |
__DNA__FIELD__py_event
Field descriptor (offset) for struct member 'py_event'.
|
static long[] |
__DNA__FIELD__py_globaldict
Field descriptor (offset) for struct member 'py_globaldict'.
|
static long[] |
__DNA__FIELD__scriptarg
Field descriptor (offset) for struct member 'scriptarg'.
|
static long[] |
__DNA__FIELD__scriptname
Field descriptor (offset) for struct member 'scriptname'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct Script.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
Script(long __address,
Block __block,
BlockTable __blockTable) |
protected |
Script(Script that) |
Modifier and Type | Method and Description |
---|---|
CPointer<Script> |
__io__addressof()
Instantiates a pointer on this instance.
|
int |
getFlags()
Get method for struct member 'flags'.
|
ID |
getId()
Get method for struct member 'id'.
|
int |
getLastspace()
Get method for struct member 'lastspace'.
|
CPointer<java.lang.Object> |
getPy_browsercallback()
Get method for struct member 'py_browsercallback'.
|
CPointer<java.lang.Object> |
getPy_button()
Get method for struct member 'py_button'.
|
CPointer<java.lang.Object> |
getPy_draw()
Get method for struct member 'py_draw'.
|
CPointer<java.lang.Object> |
getPy_event()
Get method for struct member 'py_event'.
|
CPointer<java.lang.Object> |
getPy_globaldict()
Get method for struct member 'py_globaldict'.
|
CArrayFacade<java.lang.Byte> |
getScriptarg()
Get method for struct member 'scriptarg'.
|
CArrayFacade<java.lang.Byte> |
getScriptname()
Get method for struct member 'scriptname'.
|
void |
setFlags(int flags)
Set method for struct member 'flags'.
|
void |
setId(ID id)
Set method for struct member 'id'.
|
void |
setLastspace(int lastspace)
Set method for struct member 'lastspace'.
|
void |
setPy_browsercallback(CPointer<java.lang.Object> py_browsercallback)
Set method for struct member 'py_browsercallback'.
|
void |
setPy_button(CPointer<java.lang.Object> py_button)
Set method for struct member 'py_button'.
|
void |
setPy_draw(CPointer<java.lang.Object> py_draw)
Set method for struct member 'py_draw'.
|
void |
setPy_event(CPointer<java.lang.Object> py_event)
Set method for struct member 'py_event'.
|
void |
setPy_globaldict(CPointer<java.lang.Object> py_globaldict)
Set method for struct member 'py_globaldict'.
|
void |
setScriptarg(CArrayFacade<java.lang.Byte> scriptarg)
Set method for struct member 'scriptarg'.
|
void |
setScriptname(CArrayFacade<java.lang.Byte> scriptname)
Set method for struct member 'scriptname'.
|
__io__addressof, __io__addressof, __io__equals, __io__generic__copy, __io__generic__copy, __io__instanceof, __io__native__copy, __io__newInstance, __io__same__encoding, __io__sizeof, __io__sizeof, __io__subclassof
public static final int __DNA__SDNA_INDEX
It is required when allocating a new block to store data for Script.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__id
This is how you get a reference on the corresponding field in the struct:
Script script = ...; CPointer<Object> p = script.__dna__addressof(Script.__DNA__FIELD__id); CPointer<ID> p_id = p.cast(new Class[]{ID.class});
public static final long[] __DNA__FIELD__py_draw
This is how you get a reference on the corresponding field in the struct:
Script script = ...; CPointer<Object> p = script.__dna__addressof(Script.__DNA__FIELD__py_draw); CPointer<CPointer<Object>> p_py_draw = p.cast(new Class[]{CPointer.class, Object.class});
public static final long[] __DNA__FIELD__py_event
This is how you get a reference on the corresponding field in the struct:
Script script = ...; CPointer<Object> p = script.__dna__addressof(Script.__DNA__FIELD__py_event); CPointer<CPointer<Object>> p_py_event = p.cast(new Class[]{CPointer.class, Object.class});
public static final long[] __DNA__FIELD__py_button
This is how you get a reference on the corresponding field in the struct:
Script script = ...; CPointer<Object> p = script.__dna__addressof(Script.__DNA__FIELD__py_button); CPointer<CPointer<Object>> p_py_button = p.cast(new Class[]{CPointer.class, Object.class});
public static final long[] __DNA__FIELD__py_browsercallback
This is how you get a reference on the corresponding field in the struct:
Script script = ...; CPointer<Object> p = script.__dna__addressof(Script.__DNA__FIELD__py_browsercallback); CPointer<CPointer<Object>> p_py_browsercallback = p.cast(new Class[]{CPointer.class, Object.class});
public static final long[] __DNA__FIELD__py_globaldict
This is how you get a reference on the corresponding field in the struct:
Script script = ...; CPointer<Object> p = script.__dna__addressof(Script.__DNA__FIELD__py_globaldict); CPointer<CPointer<Object>> p_py_globaldict = p.cast(new Class[]{CPointer.class, Object.class});
public static final long[] __DNA__FIELD__flags
This is how you get a reference on the corresponding field in the struct:
Script script = ...; CPointer<Object> p = script.__dna__addressof(Script.__DNA__FIELD__flags); CPointer<Integer> p_flags = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__lastspace
This is how you get a reference on the corresponding field in the struct:
Script script = ...; CPointer<Object> p = script.__dna__addressof(Script.__DNA__FIELD__lastspace); CPointer<Integer> p_lastspace = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__scriptname
store the script file here so we can re-run it on loading blender, if "Enable Scripts" is on 1024 = FILE_MAX
This is how you get a reference on the corresponding field in the struct:
Script script = ...; CPointer<Object> p = script.__dna__addressof(Script.__DNA__FIELD__scriptname); CPointer<CArrayFacade<Byte>> p_scriptname = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__scriptarg
1024 = FILE_MAX
This is how you get a reference on the corresponding field in the struct:
Script script = ...; CPointer<Object> p = script.__dna__addressof(Script.__DNA__FIELD__scriptarg); CPointer<CArrayFacade<Byte>> p_scriptarg = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public Script(long __address, Block __block, BlockTable __blockTable)
protected Script(Script that)
public ID getId() throws java.io.IOException
java.io.IOException
__DNA__FIELD__id
public void setId(ID id) throws java.io.IOException
java.io.IOException
__DNA__FIELD__id
public CPointer<java.lang.Object> getPy_draw() throws java.io.IOException
java.io.IOException
__DNA__FIELD__py_draw
public void setPy_draw(CPointer<java.lang.Object> py_draw) throws java.io.IOException
java.io.IOException
__DNA__FIELD__py_draw
public CPointer<java.lang.Object> getPy_event() throws java.io.IOException
java.io.IOException
__DNA__FIELD__py_event
public void setPy_event(CPointer<java.lang.Object> py_event) throws java.io.IOException
java.io.IOException
__DNA__FIELD__py_event
public CPointer<java.lang.Object> getPy_button() throws java.io.IOException
java.io.IOException
__DNA__FIELD__py_button
public void setPy_button(CPointer<java.lang.Object> py_button) throws java.io.IOException
java.io.IOException
__DNA__FIELD__py_button
public CPointer<java.lang.Object> getPy_browsercallback() throws java.io.IOException
java.io.IOException
__DNA__FIELD__py_browsercallback
public void setPy_browsercallback(CPointer<java.lang.Object> py_browsercallback) throws java.io.IOException
java.io.IOException
__DNA__FIELD__py_browsercallback
public CPointer<java.lang.Object> getPy_globaldict() throws java.io.IOException
java.io.IOException
__DNA__FIELD__py_globaldict
public void setPy_globaldict(CPointer<java.lang.Object> py_globaldict) throws java.io.IOException
java.io.IOException
__DNA__FIELD__py_globaldict
public int getFlags() throws java.io.IOException
java.io.IOException
__DNA__FIELD__flags
public void setFlags(int flags) throws java.io.IOException
java.io.IOException
__DNA__FIELD__flags
public int getLastspace() throws java.io.IOException
java.io.IOException
__DNA__FIELD__lastspace
public void setLastspace(int lastspace) throws java.io.IOException
java.io.IOException
__DNA__FIELD__lastspace
public CArrayFacade<java.lang.Byte> getScriptname() throws java.io.IOException
store the script file here so we can re-run it on loading blender, if "Enable Scripts" is on 1024 = FILE_MAX
java.io.IOException
__DNA__FIELD__scriptname
public void setScriptname(CArrayFacade<java.lang.Byte> scriptname) throws java.io.IOException
store the script file here so we can re-run it on loading blender, if "Enable Scripts" is on 1024 = FILE_MAX
java.io.IOException
__DNA__FIELD__scriptname
public CArrayFacade<java.lang.Byte> getScriptarg() throws java.io.IOException
1024 = FILE_MAX
java.io.IOException
__DNA__FIELD__scriptarg
public void setScriptarg(CArrayFacade<java.lang.Byte> scriptarg) throws java.io.IOException
1024 = FILE_MAX
java.io.IOException
__DNA__FIELD__scriptarg