Package org.blender.dna
Class Simulation
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.Simulation
-
public class Simulation extends CFacade
Generated facet for DNA struct type 'Simulation'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field 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.-
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 Simulation(long __address, Block __block, BlockTable __blockTable)
protected
Simulation(Simulation that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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'.-
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 Simulation.It is required when allocating a new block to store data for Simulation.
- 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:
Simulation simulation = ...; CPointer<Object> p = simulation.__dna__addressof(Simulation.__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__adt
public static final long[] __DNA__FIELD__adt
Field descriptor (offset) for struct member 'adt'.Field Documentation
Blender Source Code
animation data (must be immediately after id)
Pointer Arithmetics
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});
Metadata
- Field: 'adt'
- Signature: 'AnimData*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__nodetree
public static final long[] __DNA__FIELD__nodetree
Field descriptor (offset) for struct member 'nodetree'.Field Documentation
Blender Source Code
This nodetree is embedded into the data block.
Pointer Arithmetics
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});
Metadata
- Field: 'nodetree'
- Signature: 'bNodeTree*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__flag
public static final long[] __DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.Pointer Arithmetics
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});
Metadata
- Field: 'flag'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD___pad
public static final long[] __DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.Pointer Arithmetics
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});
Metadata
- Field: '_pad'
- Signature: 'char[4]'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
Simulation
public Simulation(long __address, Block __block, BlockTable __blockTable)
-
Simulation
protected Simulation(Simulation 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
-
getAdt
public CPointer<AnimData> getAdt() throws java.io.IOException
Get method for struct member 'adt'.Field Documentation
Blender Source Code
animation data (must be immediately after id)
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__adt
-
setAdt
public void setAdt(CPointer<AnimData> adt) throws java.io.IOException
Set method for struct member 'adt'.Field Documentation
Blender Source Code
animation data (must be immediately after id)
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__adt
-
getNodetree
public CPointer<bNodeTree> getNodetree() throws java.io.IOException
Get method for struct member 'nodetree'.Field Documentation
Blender Source Code
This nodetree is embedded into the data block.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__nodetree
-
setNodetree
public void setNodetree(CPointer<bNodeTree> nodetree) throws java.io.IOException
Set method for struct member 'nodetree'.Field Documentation
Blender Source Code
This nodetree is embedded into the data block.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__nodetree
-
getFlag
public int getFlag() throws java.io.IOException
Get method for struct member 'flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
setFlag
public void setFlag(int flag) throws java.io.IOException
Set method for struct member 'flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
get_pad
public CArrayFacade<java.lang.Byte> get_pad() throws java.io.IOException
Get method for struct member '_pad'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad
-
set_pad
public void set_pad(CArrayFacade<java.lang.Byte> _pad) throws java.io.IOException
Set method for struct member '_pad'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad
-
__io__addressof
public CPointer<Simulation> __io__addressof()
Instantiates a pointer on this instance.
-
-