public class BoidRuleAvoidCollision extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__look_ahead
Field descriptor (offset) for struct member 'look_ahead'.
|
static long[] |
__DNA__FIELD__options
Field descriptor (offset) for struct member 'options'.
|
static long[] |
__DNA__FIELD__rule
Field descriptor (offset) for struct member 'rule'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct BoidRuleAvoidCollision.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
BoidRuleAvoidCollision(BoidRuleAvoidCollision that) |
|
BoidRuleAvoidCollision(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<BoidRuleAvoidCollision> |
__io__addressof()
Instantiates a pointer on this instance.
|
float |
getLook_ahead()
Get method for struct member 'look_ahead'.
|
int |
getOptions()
Get method for struct member 'options'.
|
BoidRule |
getRule()
Get method for struct member 'rule'.
|
void |
setLook_ahead(float look_ahead)
Set method for struct member 'look_ahead'.
|
void |
setOptions(int options)
Set method for struct member 'options'.
|
void |
setRule(BoidRule rule)
Set method for struct member 'rule'.
|
__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 BoidRuleAvoidCollision.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__rule
This is how you get a reference on the corresponding field in the struct:
BoidRuleAvoidCollision boidruleavoidcollision = ...; CPointer<Object> p = boidruleavoidcollision.__dna__addressof(BoidRuleAvoidCollision.__DNA__FIELD__rule); CPointer<BoidRule> p_rule = p.cast(new Class[]{BoidRule.class});
public static final long[] __DNA__FIELD__options
This is how you get a reference on the corresponding field in the struct:
BoidRuleAvoidCollision boidruleavoidcollision = ...; CPointer<Object> p = boidruleavoidcollision.__dna__addressof(BoidRuleAvoidCollision.__DNA__FIELD__options); CPointer<Integer> p_options = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__look_ahead
This is how you get a reference on the corresponding field in the struct:
BoidRuleAvoidCollision boidruleavoidcollision = ...; CPointer<Object> p = boidruleavoidcollision.__dna__addressof(BoidRuleAvoidCollision.__DNA__FIELD__look_ahead); CPointer<Float> p_look_ahead = p.cast(new Class[]{Float.class});
public BoidRuleAvoidCollision(long __address, Block __block, BlockTable __blockTable)
protected BoidRuleAvoidCollision(BoidRuleAvoidCollision that)
public BoidRule getRule() throws java.io.IOException
java.io.IOException
__DNA__FIELD__rule
public void setRule(BoidRule rule) throws java.io.IOException
java.io.IOException
__DNA__FIELD__rule
public int getOptions() throws java.io.IOException
java.io.IOException
__DNA__FIELD__options
public void setOptions(int options) throws java.io.IOException
java.io.IOException
__DNA__FIELD__options
public float getLook_ahead() throws java.io.IOException
java.io.IOException
__DNA__FIELD__look_ahead
public void setLook_ahead(float look_ahead) throws java.io.IOException
java.io.IOException
__DNA__FIELD__look_ahead
public CPointer<BoidRuleAvoidCollision> __io__addressof()