public class BoidParticle extends CFacade
Modifier and Type | Field and 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.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
BoidParticle(BoidParticle that) |
|
BoidParticle(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and 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'.
|
__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 BoidParticle.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__ground
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});
public static final long[] __DNA__FIELD__data
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});
public static final long[] __DNA__FIELD__gravity
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});
public static final long[] __DNA__FIELD__wander
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});
public static final long[] __DNA__FIELD__rt
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});
public BoidParticle(long __address, Block __block, BlockTable __blockTable)
protected BoidParticle(BoidParticle that)
public CPointer<BlenderObject> getGround() throws java.io.IOException
java.io.IOException
__DNA__FIELD__ground
public void setGround(CPointer<BlenderObject> ground) throws java.io.IOException
java.io.IOException
__DNA__FIELD__ground
public BoidData getData() throws java.io.IOException
java.io.IOException
__DNA__FIELD__data
public void setData(BoidData data) throws java.io.IOException
java.io.IOException
__DNA__FIELD__data
public CArrayFacade<java.lang.Float> getGravity() throws java.io.IOException
java.io.IOException
__DNA__FIELD__gravity
public void setGravity(CArrayFacade<java.lang.Float> gravity) throws java.io.IOException
java.io.IOException
__DNA__FIELD__gravity
public CArrayFacade<java.lang.Float> getWander() throws java.io.IOException
java.io.IOException
__DNA__FIELD__wander
public void setWander(CArrayFacade<java.lang.Float> wander) throws java.io.IOException
java.io.IOException
__DNA__FIELD__wander
public float getRt() throws java.io.IOException
java.io.IOException
__DNA__FIELD__rt
public void setRt(float rt) throws java.io.IOException
java.io.IOException
__DNA__FIELD__rt
public CPointer<BoidParticle> __io__addressof()