Class Script
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.Script
-
-
Field Summary
Fields Modifier and Type Field 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.-
Fields inherited from class org.cakelab.blender.nio.CFacade
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
-
-
Constructor Summary
Constructors Modifier Constructor Description Script(long __address, Block __block, BlockTable __blockTable)
protected
Script(Script that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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'.-
Methods inherited from class org.cakelab.blender.nio.CFacade
__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, equals, hashCode
-
-
-
-
Field Detail
-
__DNA__SDNA_INDEX
public static final int __DNA__SDNA_INDEX
This is the sdna index of the struct Script.It is required when allocating a new block to store data for Script.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__id
public static final long[] __DNA__FIELD__id
Field descriptor (offset) for struct member 'id'.Pointer Arithmetics
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});
Metadata
- Field: 'id'
- Signature: 'ID'
- Actual Size (32bit/64bit): 152/192
-
__DNA__FIELD__py_draw
public static final long[] __DNA__FIELD__py_draw
Field descriptor (offset) for struct member 'py_draw'.Pointer Arithmetics
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});
Metadata
- Field: 'py_draw'
- Signature: 'void*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__py_event
public static final long[] __DNA__FIELD__py_event
Field descriptor (offset) for struct member 'py_event'.Pointer Arithmetics
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});
Metadata
- Field: 'py_event'
- Signature: 'void*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__py_button
public static final long[] __DNA__FIELD__py_button
Field descriptor (offset) for struct member 'py_button'.Pointer Arithmetics
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});
Metadata
- Field: 'py_button'
- Signature: 'void*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__py_browsercallback
public static final long[] __DNA__FIELD__py_browsercallback
Field descriptor (offset) for struct member 'py_browsercallback'.Pointer Arithmetics
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});
Metadata
- Field: 'py_browsercallback'
- Signature: 'void*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__py_globaldict
public static final long[] __DNA__FIELD__py_globaldict
Field descriptor (offset) for struct member 'py_globaldict'.Pointer Arithmetics
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});
Metadata
- Field: 'py_globaldict'
- Signature: 'void*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__flags
public static final long[] __DNA__FIELD__flags
Field descriptor (offset) for struct member 'flags'.Pointer Arithmetics
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});
Metadata
- Field: 'flags'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__lastspace
public static final long[] __DNA__FIELD__lastspace
Field descriptor (offset) for struct member 'lastspace'.Pointer Arithmetics
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});
Metadata
- Field: 'lastspace'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__scriptname
public static final long[] __DNA__FIELD__scriptname
Field descriptor (offset) for struct member 'scriptname'.Field Documentation
Blender Source Code
Store the script file here so we can re-run it on loading blender, if "Enable Scripts" is on 1024 = FILE_MAX.
Pointer Arithmetics
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});
Metadata
- Field: 'scriptname'
- Signature: 'char[1024]'
- Actual Size (32bit/64bit): 1024/1024
-
__DNA__FIELD__scriptarg
public static final long[] __DNA__FIELD__scriptarg
Field descriptor (offset) for struct member 'scriptarg'.Field Documentation
Blender Source Code
1024 = FILE_MAX.
Pointer Arithmetics
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});
Metadata
- Field: 'scriptarg'
- Signature: 'char[256]'
- Actual Size (32bit/64bit): 256/256
-
-
Constructor Detail
-
Script
public Script(long __address, Block __block, BlockTable __blockTable)
-
Script
protected Script(Script that)
-
-
Method Detail
-
getId
public ID getId() throws java.io.IOException
Get method for struct member 'id'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__id
-
setId
public void setId(ID id) throws java.io.IOException
Set method for struct member 'id'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__id
-
getPy_draw
public CPointer<java.lang.Object> getPy_draw() throws java.io.IOException
Get method for struct member 'py_draw'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__py_draw
-
setPy_draw
public void setPy_draw(CPointer<java.lang.Object> py_draw) throws java.io.IOException
Set method for struct member 'py_draw'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__py_draw
-
getPy_event
public CPointer<java.lang.Object> getPy_event() throws java.io.IOException
Get method for struct member 'py_event'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__py_event
-
setPy_event
public void setPy_event(CPointer<java.lang.Object> py_event) throws java.io.IOException
Set method for struct member 'py_event'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__py_event
-
getPy_button
public CPointer<java.lang.Object> getPy_button() throws java.io.IOException
Get method for struct member 'py_button'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__py_button
-
setPy_button
public void setPy_button(CPointer<java.lang.Object> py_button) throws java.io.IOException
Set method for struct member 'py_button'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__py_button
-
getPy_browsercallback
public CPointer<java.lang.Object> getPy_browsercallback() throws java.io.IOException
Get method for struct member 'py_browsercallback'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__py_browsercallback
-
setPy_browsercallback
public void setPy_browsercallback(CPointer<java.lang.Object> py_browsercallback) throws java.io.IOException
Set method for struct member 'py_browsercallback'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__py_browsercallback
-
getPy_globaldict
public CPointer<java.lang.Object> getPy_globaldict() throws java.io.IOException
Get method for struct member 'py_globaldict'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__py_globaldict
-
setPy_globaldict
public void setPy_globaldict(CPointer<java.lang.Object> py_globaldict) throws java.io.IOException
Set method for struct member 'py_globaldict'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__py_globaldict
-
getFlags
public int getFlags() throws java.io.IOException
Get method for struct member 'flags'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flags
-
setFlags
public void setFlags(int flags) throws java.io.IOException
Set method for struct member 'flags'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flags
-
getLastspace
public int getLastspace() throws java.io.IOException
Get method for struct member 'lastspace'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__lastspace
-
setLastspace
public void setLastspace(int lastspace) throws java.io.IOException
Set method for struct member 'lastspace'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__lastspace
-
getScriptname
public CArrayFacade<java.lang.Byte> getScriptname() throws java.io.IOException
Get method for struct member 'scriptname'.Field Documentation
Blender Source Code
Store the script file here so we can re-run it on loading blender, if "Enable Scripts" is on 1024 = FILE_MAX.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__scriptname
-
setScriptname
public void setScriptname(CArrayFacade<java.lang.Byte> scriptname) throws java.io.IOException
Set method for struct member 'scriptname'.Field Documentation
Blender Source Code
Store the script file here so we can re-run it on loading blender, if "Enable Scripts" is on 1024 = FILE_MAX.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__scriptname
-
getScriptarg
public CArrayFacade<java.lang.Byte> getScriptarg() throws java.io.IOException
Get method for struct member 'scriptarg'.Field Documentation
Blender Source Code
1024 = FILE_MAX.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__scriptarg
-
setScriptarg
public void setScriptarg(CArrayFacade<java.lang.Byte> scriptarg) throws java.io.IOException
Set method for struct member 'scriptarg'.Field Documentation
Blender Source Code
1024 = FILE_MAX.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__scriptarg
-
-