Package org.blender.dna
Class BoidParticle
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.BoidParticle
-
public class BoidParticle extends CFacade
Generated facet for DNA struct type 'BoidParticle'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__data
Field descriptor (offset) for struct member 'data'.static long[]
__DNA__FIELD__gravity
Field descriptor (offset) for struct member 'gravity'.static long[]
__DNA__FIELD__ground
Field descriptor (offset) for struct member 'ground'.static long[]
__DNA__FIELD__rt
Field descriptor (offset) for struct member 'rt'.static long[]
__DNA__FIELD__wander
Field descriptor (offset) for struct member 'wander'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct BoidParticle.-
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 BoidParticle(long __address, Block __block, BlockTable __blockTable)
protected
BoidParticle(BoidParticle that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<BoidParticle>
__io__addressof()
Instantiates a pointer on this instance.BoidData
getData()
Get method for struct member 'data'.CArrayFacade<java.lang.Float>
getGravity()
Get method for struct member 'gravity'.CPointer<BlenderObject>
getGround()
Get method for struct member 'ground'.float
getRt()
Get method for struct member 'rt'.CArrayFacade<java.lang.Float>
getWander()
Get method for struct member 'wander'.void
setData(BoidData data)
Set method for struct member 'data'.void
setGravity(CArrayFacade<java.lang.Float> gravity)
Set method for struct member 'gravity'.void
setGround(CPointer<BlenderObject> ground)
Set method for struct member 'ground'.void
setRt(float rt)
Set method for struct member 'rt'.void
setWander(CArrayFacade<java.lang.Float> wander)
Set method for struct member 'wander'.-
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 BoidParticle.It is required when allocating a new block to store data for BoidParticle.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__ground
public static final long[] __DNA__FIELD__ground
Field descriptor (offset) for struct member 'ground'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
BoidParticle boidparticle = ...; CPointer<Object> p = boidparticle.__dna__addressof(BoidParticle.__DNA__FIELD__ground); CPointer<CPointer<BlenderObject>> p_ground = p.cast(new Class[]{CPointer.class, BlenderObject.class});
Metadata
- Field: 'ground'
- Signature: 'Object*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__data
public static final long[] __DNA__FIELD__data
Field descriptor (offset) for struct member 'data'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
BoidParticle boidparticle = ...; CPointer<Object> p = boidparticle.__dna__addressof(BoidParticle.__DNA__FIELD__data); CPointer<BoidData> p_data = p.cast(new Class[]{BoidData.class});
Metadata
- Field: 'data'
- Signature: 'BoidData'
- Actual Size (32bit/64bit): 20/20
-
__DNA__FIELD__gravity
public static final long[] __DNA__FIELD__gravity
Field descriptor (offset) for struct member 'gravity'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
BoidParticle boidparticle = ...; CPointer<Object> p = boidparticle.__dna__addressof(BoidParticle.__DNA__FIELD__gravity); CPointer<CArrayFacade<Float>> p_gravity = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'gravity'
- Signature: 'float[3]'
- Actual Size (32bit/64bit): 12/12
-
__DNA__FIELD__wander
public static final long[] __DNA__FIELD__wander
Field descriptor (offset) for struct member 'wander'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
BoidParticle boidparticle = ...; CPointer<Object> p = boidparticle.__dna__addressof(BoidParticle.__DNA__FIELD__wander); CPointer<CArrayFacade<Float>> p_wander = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'wander'
- Signature: 'float[3]'
- Actual Size (32bit/64bit): 12/12
-
__DNA__FIELD__rt
public static final long[] __DNA__FIELD__rt
Field descriptor (offset) for struct member 'rt'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
BoidParticle boidparticle = ...; CPointer<Object> p = boidparticle.__dna__addressof(BoidParticle.__DNA__FIELD__rt); CPointer<Float> p_rt = p.cast(new Class[]{Float.class});
Metadata
- Field: 'rt'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
BoidParticle
public BoidParticle(long __address, Block __block, BlockTable __blockTable)
-
BoidParticle
protected BoidParticle(BoidParticle that)
-
-
Method Detail
-
getGround
public CPointer<BlenderObject> getGround() throws java.io.IOException
Get method for struct member 'ground'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__ground
-
setGround
public void setGround(CPointer<BlenderObject> ground) throws java.io.IOException
Set method for struct member 'ground'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__ground
-
getData
public BoidData getData() throws java.io.IOException
Get method for struct member 'data'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__data
-
setData
public void setData(BoidData data) throws java.io.IOException
Set method for struct member 'data'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__data
-
getGravity
public CArrayFacade<java.lang.Float> getGravity() throws java.io.IOException
Get method for struct member 'gravity'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__gravity
-
setGravity
public void setGravity(CArrayFacade<java.lang.Float> gravity) throws java.io.IOException
Set method for struct member 'gravity'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__gravity
-
getWander
public CArrayFacade<java.lang.Float> getWander() throws java.io.IOException
Get method for struct member 'wander'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__wander
-
setWander
public void setWander(CArrayFacade<java.lang.Float> wander) throws java.io.IOException
Set method for struct member 'wander'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__wander
-
getRt
public float getRt() throws java.io.IOException
Get method for struct member 'rt'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__rt
-
setRt
public void setRt(float rt) throws java.io.IOException
Set method for struct member 'rt'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__rt
-
__io__addressof
public CPointer<BoidParticle> __io__addressof()
Instantiates a pointer on this instance.
-
-