Package org.blender.dna
Class MDefInfluence
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.MDefInfluence
-
public class MDefInfluence extends CFacade
Generated facet for DNA struct type 'MDefInfluence'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__vertex
Field descriptor (offset) for struct member 'vertex'.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 MDefInfluence.-
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 MDefInfluence(long __address, Block __block, BlockTable __blockTable)
protected
MDefInfluence(MDefInfluence that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<MDefInfluence>
__io__addressof()
Instantiates a pointer on this instance.int
getVertex()
Get method for struct member 'vertex'.float
getWeight()
Get method for struct member 'weight'.void
setVertex(int vertex)
Set method for struct member 'vertex'.void
setWeight(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 MDefInfluence.It is required when allocating a new block to store data for MDefInfluence.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__vertex
public static final long[] __DNA__FIELD__vertex
Field descriptor (offset) for struct member 'vertex'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MDefInfluence mdefinfluence = ...; CPointer<Object> p = mdefinfluence.__dna__addressof(MDefInfluence.__DNA__FIELD__vertex); CPointer<Integer> p_vertex = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'vertex'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__weight
public static final long[] __DNA__FIELD__weight
Field descriptor (offset) for struct member 'weight'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MDefInfluence mdefinfluence = ...; CPointer<Object> p = mdefinfluence.__dna__addressof(MDefInfluence.__DNA__FIELD__weight); CPointer<Float> p_weight = p.cast(new Class[]{Float.class});
Metadata
- Field: 'weight'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
MDefInfluence
public MDefInfluence(long __address, Block __block, BlockTable __blockTable)
-
MDefInfluence
protected MDefInfluence(MDefInfluence that)
-
-
Method Detail
-
getVertex
public int getVertex() throws java.io.IOException
Get method for struct member 'vertex'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__vertex
-
setVertex
public void setVertex(int vertex) throws java.io.IOException
Set method for struct member 'vertex'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__vertex
-
getWeight
public float getWeight() throws java.io.IOException
Get method for struct member 'weight'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__weight
-
setWeight
public void setWeight(float weight) throws java.io.IOException
Set method for struct member 'weight'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__weight
-
__io__addressof
public CPointer<MDefInfluence> __io__addressof()
Instantiates a pointer on this instance.
-
-