public class BoidRuleGoalAvoid extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__channels
Field descriptor (offset) for struct member 'channels'.
|
static long[] |
__DNA__FIELD__fear_factor
Field descriptor (offset) for struct member 'fear_factor'.
|
static long[] |
__DNA__FIELD__ob
Field descriptor (offset) for struct member 'ob'.
|
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 long[] |
__DNA__FIELD__signal_id
Field descriptor (offset) for struct member 'signal_id'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct BoidRuleGoalAvoid.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
BoidRuleGoalAvoid(BoidRuleGoalAvoid that) |
|
BoidRuleGoalAvoid(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<BoidRuleGoalAvoid> |
__io__addressof()
Instantiates a pointer on this instance.
|
int |
getChannels()
Get method for struct member 'channels'.
|
float |
getFear_factor()
Get method for struct member 'fear_factor'.
|
CPointer<BlenderObject> |
getOb()
Get method for struct member 'ob'.
|
int |
getOptions()
Get method for struct member 'options'.
|
BoidRule |
getRule()
Get method for struct member 'rule'.
|
int |
getSignal_id()
Get method for struct member 'signal_id'.
|
void |
setChannels(int channels)
Set method for struct member 'channels'.
|
void |
setFear_factor(float fear_factor)
Set method for struct member 'fear_factor'.
|
void |
setOb(CPointer<BlenderObject> ob)
Set method for struct member 'ob'.
|
void |
setOptions(int options)
Set method for struct member 'options'.
|
void |
setRule(BoidRule rule)
Set method for struct member 'rule'.
|
void |
setSignal_id(int signal_id)
Set method for struct member 'signal_id'.
|
__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 BoidRuleGoalAvoid.
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:
BoidRuleGoalAvoid boidrulegoalavoid = ...; CPointer<Object> p = boidrulegoalavoid.__dna__addressof(BoidRuleGoalAvoid.__DNA__FIELD__rule); CPointer<BoidRule> p_rule = p.cast(new Class[]{BoidRule.class});
public static final long[] __DNA__FIELD__ob
This is how you get a reference on the corresponding field in the struct:
BoidRuleGoalAvoid boidrulegoalavoid = ...; CPointer<Object> p = boidrulegoalavoid.__dna__addressof(BoidRuleGoalAvoid.__DNA__FIELD__ob); CPointer<CPointer<BlenderObject>> p_ob = p.cast(new Class[]{CPointer.class, BlenderObject.class});
public static final long[] __DNA__FIELD__options
This is how you get a reference on the corresponding field in the struct:
BoidRuleGoalAvoid boidrulegoalavoid = ...; CPointer<Object> p = boidrulegoalavoid.__dna__addressof(BoidRuleGoalAvoid.__DNA__FIELD__options); CPointer<Integer> p_options = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__fear_factor
This is how you get a reference on the corresponding field in the struct:
BoidRuleGoalAvoid boidrulegoalavoid = ...; CPointer<Object> p = boidrulegoalavoid.__dna__addressof(BoidRuleGoalAvoid.__DNA__FIELD__fear_factor); CPointer<Float> p_fear_factor = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__signal_id
This is how you get a reference on the corresponding field in the struct:
BoidRuleGoalAvoid boidrulegoalavoid = ...; CPointer<Object> p = boidrulegoalavoid.__dna__addressof(BoidRuleGoalAvoid.__DNA__FIELD__signal_id); CPointer<Integer> p_signal_id = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__channels
This is how you get a reference on the corresponding field in the struct:
BoidRuleGoalAvoid boidrulegoalavoid = ...; CPointer<Object> p = boidrulegoalavoid.__dna__addressof(BoidRuleGoalAvoid.__DNA__FIELD__channels); CPointer<Integer> p_channels = p.cast(new Class[]{Integer.class});
public BoidRuleGoalAvoid(long __address, Block __block, BlockTable __blockTable)
protected BoidRuleGoalAvoid(BoidRuleGoalAvoid 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 CPointer<BlenderObject> getOb() throws java.io.IOException
java.io.IOException
__DNA__FIELD__ob
public void setOb(CPointer<BlenderObject> ob) throws java.io.IOException
java.io.IOException
__DNA__FIELD__ob
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 getFear_factor() throws java.io.IOException
java.io.IOException
__DNA__FIELD__fear_factor
public void setFear_factor(float fear_factor) throws java.io.IOException
java.io.IOException
__DNA__FIELD__fear_factor
public int getSignal_id() throws java.io.IOException
java.io.IOException
__DNA__FIELD__signal_id
public void setSignal_id(int signal_id) throws java.io.IOException
java.io.IOException
__DNA__FIELD__signal_id
public int getChannels() throws java.io.IOException
java.io.IOException
__DNA__FIELD__channels
public void setChannels(int channels) throws java.io.IOException
java.io.IOException
__DNA__FIELD__channels
public CPointer<BoidRuleGoalAvoid> __io__addressof()