public class Simulation extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.
|
static long[] |
__DNA__FIELD__adt
Field descriptor (offset) for struct member 'adt'.
|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__id
Field descriptor (offset) for struct member 'id'.
|
static long[] |
__DNA__FIELD__nodetree
Field descriptor (offset) for struct member 'nodetree'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct Simulation.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
Simulation(long __address,
Block __block,
BlockTable __blockTable) |
protected |
Simulation(Simulation that) |
Modifier and Type | Method and Description |
---|---|
CPointer<Simulation> |
__io__addressof()
Instantiates a pointer on this instance.
|
CArrayFacade<java.lang.Byte> |
get_pad()
Get method for struct member '_pad'.
|
CPointer<AnimData> |
getAdt()
Get method for struct member 'adt'.
|
int |
getFlag()
Get method for struct member 'flag'.
|
ID |
getId()
Get method for struct member 'id'.
|
CPointer<bNodeTree> |
getNodetree()
Get method for struct member 'nodetree'.
|
void |
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.
|
void |
setAdt(CPointer<AnimData> adt)
Set method for struct member 'adt'.
|
void |
setFlag(int flag)
Set method for struct member 'flag'.
|
void |
setId(ID id)
Set method for struct member 'id'.
|
void |
setNodetree(CPointer<bNodeTree> nodetree)
Set method for struct member 'nodetree'.
|
__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 Simulation.
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:
Simulation simulation = ...; CPointer<Object> p = simulation.__dna__addressof(Simulation.__DNA__FIELD__id); CPointer<ID> p_id = p.cast(new Class[]{ID.class});
public static final long[] __DNA__FIELD__adt
animation data (must be immediately after id)
This is how you get a reference on the corresponding field in the struct:
Simulation simulation = ...; CPointer<Object> p = simulation.__dna__addressof(Simulation.__DNA__FIELD__adt); CPointer<CPointer<AnimData>> p_adt = p.cast(new Class[]{CPointer.class, AnimData.class});
public static final long[] __DNA__FIELD__nodetree
This nodetree is embedded into the data block.
This is how you get a reference on the corresponding field in the struct:
Simulation simulation = ...; CPointer<Object> p = simulation.__dna__addressof(Simulation.__DNA__FIELD__nodetree); CPointer<CPointer<bNodeTree>> p_nodetree = p.cast(new Class[]{CPointer.class, bNodeTree.class});
public static final long[] __DNA__FIELD__flag
This is how you get a reference on the corresponding field in the struct:
Simulation simulation = ...; CPointer<Object> p = simulation.__dna__addressof(Simulation.__DNA__FIELD__flag); CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD___pad
This is how you get a reference on the corresponding field in the struct:
Simulation simulation = ...; CPointer<Object> p = simulation.__dna__addressof(Simulation.__DNA__FIELD___pad); CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public Simulation(long __address, Block __block, BlockTable __blockTable)
protected Simulation(Simulation 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<AnimData> getAdt() throws java.io.IOException
animation data (must be immediately after id)
java.io.IOException
__DNA__FIELD__adt
public void setAdt(CPointer<AnimData> adt) throws java.io.IOException
animation data (must be immediately after id)
java.io.IOException
__DNA__FIELD__adt
public CPointer<bNodeTree> getNodetree() throws java.io.IOException
This nodetree is embedded into the data block.
java.io.IOException
__DNA__FIELD__nodetree
public void setNodetree(CPointer<bNodeTree> nodetree) throws java.io.IOException
This nodetree is embedded into the data block.
java.io.IOException
__DNA__FIELD__nodetree
public int getFlag() throws java.io.IOException
java.io.IOException
__DNA__FIELD__flag
public void setFlag(int flag) throws java.io.IOException
java.io.IOException
__DNA__FIELD__flag
public CArrayFacade<java.lang.Byte> get_pad() throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad
public void set_pad(CArrayFacade<java.lang.Byte> _pad) throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad
public CPointer<Simulation> __io__addressof()