Package org.blender.dna
Class BoidRuleFollowLeader
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.BoidRuleFollowLeader
-
public class BoidRuleFollowLeader extends CFacade
Generated facet for DNA struct type 'BoidRuleFollowLeader'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__cfra
Field descriptor (offset) for struct member 'cfra'.static long[]
__DNA__FIELD__distance
Field descriptor (offset) for struct member 'distance'.static long[]
__DNA__FIELD__loc
Field descriptor (offset) for struct member 'loc'.static long[]
__DNA__FIELD__ob
Field descriptor (offset) for struct member 'ob'.static long[]
__DNA__FIELD__oloc
Field descriptor (offset) for struct member 'oloc'.static long[]
__DNA__FIELD__options
Field descriptor (offset) for struct member 'options'.static long[]
__DNA__FIELD__queue_size
Field descriptor (offset) for struct member 'queue_size'.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 BoidRuleFollowLeader.-
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 BoidRuleFollowLeader(long __address, Block __block, BlockTable __blockTable)
protected
BoidRuleFollowLeader(BoidRuleFollowLeader that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<BoidRuleFollowLeader>
__io__addressof()
Instantiates a pointer on this instance.float
getCfra()
Get method for struct member 'cfra'.float
getDistance()
Get method for struct member 'distance'.CArrayFacade<java.lang.Float>
getLoc()
Get method for struct member 'loc'.CPointer<BlenderObject>
getOb()
Get method for struct member 'ob'.CArrayFacade<java.lang.Float>
getOloc()
Get method for struct member 'oloc'.int
getOptions()
Get method for struct member 'options'.int
getQueue_size()
Get method for struct member 'queue_size'.BoidRule
getRule()
Get method for struct member 'rule'.void
setCfra(float cfra)
Set method for struct member 'cfra'.void
setDistance(float distance)
Set method for struct member 'distance'.void
setLoc(CArrayFacade<java.lang.Float> loc)
Set method for struct member 'loc'.void
setOb(CPointer<BlenderObject> ob)
Set method for struct member 'ob'.void
setOloc(CArrayFacade<java.lang.Float> oloc)
Set method for struct member 'oloc'.void
setOptions(int options)
Set method for struct member 'options'.void
setQueue_size(int queue_size)
Set method for struct member 'queue_size'.void
setRule(BoidRule rule)
Set method for struct member 'rule'.-
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 BoidRuleFollowLeader.It is required when allocating a new block to store data for BoidRuleFollowLeader.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__rule
public static final long[] __DNA__FIELD__rule
Field descriptor (offset) for struct member 'rule'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
BoidRuleFollowLeader boidrulefollowleader = ...; CPointer<Object> p = boidrulefollowleader.__dna__addressof(BoidRuleFollowLeader.__DNA__FIELD__rule); CPointer<BoidRule> p_rule = p.cast(new Class[]{BoidRule.class});
Metadata
- Field: 'rule'
- Signature: 'BoidRule'
- Actual Size (32bit/64bit): 48/56
-
__DNA__FIELD__ob
public static final long[] __DNA__FIELD__ob
Field descriptor (offset) for struct member 'ob'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
BoidRuleFollowLeader boidrulefollowleader = ...; CPointer<Object> p = boidrulefollowleader.__dna__addressof(BoidRuleFollowLeader.__DNA__FIELD__ob); CPointer<CPointer<BlenderObject>> p_ob = p.cast(new Class[]{CPointer.class, BlenderObject.class});
Metadata
- Field: 'ob'
- Signature: 'Object*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__loc
public static final long[] __DNA__FIELD__loc
Field descriptor (offset) for struct member 'loc'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
BoidRuleFollowLeader boidrulefollowleader = ...; CPointer<Object> p = boidrulefollowleader.__dna__addressof(BoidRuleFollowLeader.__DNA__FIELD__loc); CPointer<CArrayFacade<Float>> p_loc = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'loc'
- Signature: 'float[3]'
- Actual Size (32bit/64bit): 12/12
-
__DNA__FIELD__oloc
public static final long[] __DNA__FIELD__oloc
Field descriptor (offset) for struct member 'oloc'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
BoidRuleFollowLeader boidrulefollowleader = ...; CPointer<Object> p = boidrulefollowleader.__dna__addressof(BoidRuleFollowLeader.__DNA__FIELD__oloc); CPointer<CArrayFacade<Float>> p_oloc = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'oloc'
- Signature: 'float[3]'
- Actual Size (32bit/64bit): 12/12
-
__DNA__FIELD__cfra
public static final long[] __DNA__FIELD__cfra
Field descriptor (offset) for struct member 'cfra'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
BoidRuleFollowLeader boidrulefollowleader = ...; CPointer<Object> p = boidrulefollowleader.__dna__addressof(BoidRuleFollowLeader.__DNA__FIELD__cfra); CPointer<Float> p_cfra = p.cast(new Class[]{Float.class});
Metadata
- Field: 'cfra'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__distance
public static final long[] __DNA__FIELD__distance
Field descriptor (offset) for struct member 'distance'.Field Documentation
Blender Python API
Distance behind leader to followPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
BoidRuleFollowLeader boidrulefollowleader = ...; CPointer<Object> p = boidrulefollowleader.__dna__addressof(BoidRuleFollowLeader.__DNA__FIELD__distance); CPointer<Float> p_distance = p.cast(new Class[]{Float.class});
Metadata
- Field: 'distance'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__options
public static final long[] __DNA__FIELD__options
Field descriptor (offset) for struct member 'options'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
BoidRuleFollowLeader boidrulefollowleader = ...; CPointer<Object> p = boidrulefollowleader.__dna__addressof(BoidRuleFollowLeader.__DNA__FIELD__options); CPointer<Integer> p_options = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'options'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__queue_size
public static final long[] __DNA__FIELD__queue_size
Field descriptor (offset) for struct member 'queue_size'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
BoidRuleFollowLeader boidrulefollowleader = ...; CPointer<Object> p = boidrulefollowleader.__dna__addressof(BoidRuleFollowLeader.__DNA__FIELD__queue_size); CPointer<Integer> p_queue_size = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'queue_size'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
BoidRuleFollowLeader
public BoidRuleFollowLeader(long __address, Block __block, BlockTable __blockTable)
-
BoidRuleFollowLeader
protected BoidRuleFollowLeader(BoidRuleFollowLeader that)
-
-
Method Detail
-
getRule
public BoidRule getRule() throws java.io.IOException
Get method for struct member 'rule'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__rule
-
setRule
public void setRule(BoidRule rule) throws java.io.IOException
Set method for struct member 'rule'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__rule
-
getOb
public CPointer<BlenderObject> getOb() throws java.io.IOException
Get method for struct member 'ob'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__ob
-
setOb
public void setOb(CPointer<BlenderObject> ob) throws java.io.IOException
Set method for struct member 'ob'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__ob
-
getLoc
public CArrayFacade<java.lang.Float> getLoc() throws java.io.IOException
Get method for struct member 'loc'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__loc
-
setLoc
public void setLoc(CArrayFacade<java.lang.Float> loc) throws java.io.IOException
Set method for struct member 'loc'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__loc
-
getOloc
public CArrayFacade<java.lang.Float> getOloc() throws java.io.IOException
Get method for struct member 'oloc'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__oloc
-
setOloc
public void setOloc(CArrayFacade<java.lang.Float> oloc) throws java.io.IOException
Set method for struct member 'oloc'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__oloc
-
getCfra
public float getCfra() throws java.io.IOException
Get method for struct member 'cfra'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__cfra
-
setCfra
public void setCfra(float cfra) throws java.io.IOException
Set method for struct member 'cfra'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__cfra
-
getDistance
public float getDistance() throws java.io.IOException
Get method for struct member 'distance'.Field Documentation
Blender Python API
Distance behind leader to follow- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__distance
-
setDistance
public void setDistance(float distance) throws java.io.IOException
Set method for struct member 'distance'.Field Documentation
Blender Python API
Distance behind leader to follow- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__distance
-
getOptions
public int getOptions() throws java.io.IOException
Get method for struct member 'options'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__options
-
setOptions
public void setOptions(int options) throws java.io.IOException
Set method for struct member 'options'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__options
-
getQueue_size
public int getQueue_size() throws java.io.IOException
Get method for struct member 'queue_size'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__queue_size
-
setQueue_size
public void setQueue_size(int queue_size) throws java.io.IOException
Set method for struct member 'queue_size'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__queue_size
-
__io__addressof
public CPointer<BoidRuleFollowLeader> __io__addressof()
Instantiates a pointer on this instance.
-
-