public class MDefInfluence extends CFacade
Modifier and Type | Field and 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.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
MDefInfluence(long __address,
Block __block,
BlockTable __blockTable) |
protected |
MDefInfluence(MDefInfluence that) |
Modifier and Type | Method and 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'.
|
__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 MDefInfluence.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__vertex
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});
public static final long[] __DNA__FIELD__weight
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});
public MDefInfluence(long __address, Block __block, BlockTable __blockTable)
protected MDefInfluence(MDefInfluence that)
public int getVertex() throws java.io.IOException
java.io.IOException
__DNA__FIELD__vertex
public void setVertex(int vertex) throws java.io.IOException
java.io.IOException
__DNA__FIELD__vertex
public float getWeight() throws java.io.IOException
java.io.IOException
__DNA__FIELD__weight
public void setWeight(float weight) throws java.io.IOException
java.io.IOException
__DNA__FIELD__weight
public CPointer<MDefInfluence> __io__addressof()