Package org.blender.dna
Class EffectorWeights
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.EffectorWeights
-
public class EffectorWeights extends CFacade
Generated facet for DNA struct type 'EffectorWeights'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.static long[]
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.static long[]
__DNA__FIELD__global_gravity
Field descriptor (offset) for struct member 'global_gravity'.static long[]
__DNA__FIELD__group
Field descriptor (offset) for struct member 'group'.static long[]
__DNA__FIELD__weight
Field descriptor (offset) for struct member 'weight'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct EffectorWeights.-
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 EffectorWeights(long __address, Block __block, BlockTable __blockTable)
protected
EffectorWeights(EffectorWeights that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<EffectorWeights>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Byte>
get_pad()
Get method for struct member '_pad'.short
getFlag()
Get method for struct member 'flag'.float
getGlobal_gravity()
Get method for struct member 'global_gravity'.CPointer<Collection>
getGroup()
Get method for struct member 'group'.CArrayFacade<java.lang.Float>
getWeight()
Get method for struct member 'weight'.void
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.void
setFlag(short flag)
Set method for struct member 'flag'.void
setGlobal_gravity(float global_gravity)
Set method for struct member 'global_gravity'.void
setGroup(CPointer<Collection> group)
Set method for struct member 'group'.void
setWeight(CArrayFacade<java.lang.Float> weight)
Set method for struct member 'weight'.-
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 EffectorWeights.It is required when allocating a new block to store data for EffectorWeights.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__group
public static final long[] __DNA__FIELD__group
Field descriptor (offset) for struct member 'group'.Field Documentation
Blender Source Code
Only use effectors from this group of objects.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
EffectorWeights effectorweights = ...; CPointer<Object> p = effectorweights.__dna__addressof(EffectorWeights.__DNA__FIELD__group); CPointer<CPointer<Collection>> p_group = p.cast(new Class[]{CPointer.class, Collection.class});
Metadata
- Field: 'group'
- Signature: 'Collection*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__weight
public static final long[] __DNA__FIELD__weight
Field descriptor (offset) for struct member 'weight'.Field Documentation
Blender Source Code
Effector type specific weights.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
EffectorWeights effectorweights = ...; CPointer<Object> p = effectorweights.__dna__addressof(EffectorWeights.__DNA__FIELD__weight); CPointer<CArrayFacade<Float>> p_weight = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'weight'
- Signature: 'float[14]'
- Actual Size (32bit/64bit): 56/56
-
__DNA__FIELD__global_gravity
public static final long[] __DNA__FIELD__global_gravity
Field descriptor (offset) for struct member 'global_gravity'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
EffectorWeights effectorweights = ...; CPointer<Object> p = effectorweights.__dna__addressof(EffectorWeights.__DNA__FIELD__global_gravity); CPointer<Float> p_global_gravity = p.cast(new Class[]{Float.class});
Metadata
- Field: 'global_gravity'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__flag
public static final long[] __DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
EffectorWeights effectorweights = ...; CPointer<Object> p = effectorweights.__dna__addressof(EffectorWeights.__DNA__FIELD__flag); CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
Metadata
- Field: 'flag'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD___pad
public static final long[] __DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
EffectorWeights effectorweights = ...; CPointer<Object> p = effectorweights.__dna__addressof(EffectorWeights.__DNA__FIELD___pad); CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: '_pad'
- Signature: 'char[2]'
- Actual Size (32bit/64bit): 2/2
-
-
Constructor Detail
-
EffectorWeights
public EffectorWeights(long __address, Block __block, BlockTable __blockTable)
-
EffectorWeights
protected EffectorWeights(EffectorWeights that)
-
-
Method Detail
-
getGroup
public CPointer<Collection> getGroup() throws java.io.IOException
Get method for struct member 'group'.Field Documentation
Blender Source Code
Only use effectors from this group of objects.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__group
-
setGroup
public void setGroup(CPointer<Collection> group) throws java.io.IOException
Set method for struct member 'group'.Field Documentation
Blender Source Code
Only use effectors from this group of objects.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__group
-
getWeight
public CArrayFacade<java.lang.Float> getWeight() throws java.io.IOException
Get method for struct member 'weight'.Field Documentation
Blender Source Code
Effector type specific weights.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__weight
-
setWeight
public void setWeight(CArrayFacade<java.lang.Float> weight) throws java.io.IOException
Set method for struct member 'weight'.Field Documentation
Blender Source Code
Effector type specific weights.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__weight
-
getGlobal_gravity
public float getGlobal_gravity() throws java.io.IOException
Get method for struct member 'global_gravity'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__global_gravity
-
setGlobal_gravity
public void setGlobal_gravity(float global_gravity) throws java.io.IOException
Set method for struct member 'global_gravity'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__global_gravity
-
getFlag
public short getFlag() throws java.io.IOException
Get method for struct member 'flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
setFlag
public void setFlag(short flag) throws java.io.IOException
Set method for struct member 'flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
get_pad
public CArrayFacade<java.lang.Byte> get_pad() throws java.io.IOException
Get method for struct member '_pad'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad
-
set_pad
public void set_pad(CArrayFacade<java.lang.Byte> _pad) throws java.io.IOException
Set method for struct member '_pad'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad
-
__io__addressof
public CPointer<EffectorWeights> __io__addressof()
Instantiates a pointer on this instance.
-
-