public class BoidRuleFight extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__distance
Field descriptor (offset) for struct member 'distance'.
|
static long[] |
__DNA__FIELD__flee_distance
Field descriptor (offset) for struct member 'flee_distance'.
|
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 BoidRuleFight.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
BoidRuleFight(BoidRuleFight that) |
|
BoidRuleFight(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<BoidRuleFight> |
__io__addressof()
Instantiates a pointer on this instance.
|
float |
getDistance()
Get method for struct member 'distance'.
|
float |
getFlee_distance()
Get method for struct member 'flee_distance'.
|
BoidRule |
getRule()
Get method for struct member 'rule'.
|
void |
setDistance(float distance)
Set method for struct member 'distance'.
|
void |
setFlee_distance(float flee_distance)
Set method for struct member 'flee_distance'.
|
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 BoidRuleFight.
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:
BoidRuleFight boidrulefight = ...; CPointer<Object> p = boidrulefight.__dna__addressof(BoidRuleFight.__DNA__FIELD__rule); CPointer<BoidRule> p_rule = p.cast(new Class[]{BoidRule.class});
public static final long[] __DNA__FIELD__distance
This is how you get a reference on the corresponding field in the struct:
BoidRuleFight boidrulefight = ...; CPointer<Object> p = boidrulefight.__dna__addressof(BoidRuleFight.__DNA__FIELD__distance); CPointer<Float> p_distance = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__flee_distance
This is how you get a reference on the corresponding field in the struct:
BoidRuleFight boidrulefight = ...; CPointer<Object> p = boidrulefight.__dna__addressof(BoidRuleFight.__DNA__FIELD__flee_distance); CPointer<Float> p_flee_distance = p.cast(new Class[]{Float.class});
public BoidRuleFight(long __address, Block __block, BlockTable __blockTable)
protected BoidRuleFight(BoidRuleFight 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 float getDistance() throws java.io.IOException
java.io.IOException
__DNA__FIELD__distance
public void setDistance(float distance) throws java.io.IOException
java.io.IOException
__DNA__FIELD__distance
public float getFlee_distance() throws java.io.IOException
java.io.IOException
__DNA__FIELD__flee_distance
public void setFlee_distance(float flee_distance) throws java.io.IOException
java.io.IOException
__DNA__FIELD__flee_distance
public CPointer<BoidRuleFight> __io__addressof()