public class MDeformWeight extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__def_nr
Field descriptor (offset) for struct member 'def_nr'.
|
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 MDeformWeight.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
MDeformWeight(long __address,
Block __block,
BlockTable __blockTable) |
protected |
MDeformWeight(MDeformWeight that) |
Modifier and Type | Method and Description |
---|---|
CPointer<MDeformWeight> |
__io__addressof()
Instantiates a pointer on this instance.
|
int |
getDef_nr()
Get method for struct member 'def_nr'.
|
float |
getWeight()
Get method for struct member 'weight'.
|
void |
setDef_nr(int def_nr)
Set method for struct member 'def_nr'.
|
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 MDeformWeight.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__def_nr
This is how you get a reference on the corresponding field in the struct:
MDeformWeight mdeformweight = ...; CPointer<Object> p = mdeformweight.__dna__addressof(MDeformWeight.__DNA__FIELD__def_nr); CPointer<Integer> p_def_nr = 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:
MDeformWeight mdeformweight = ...; CPointer<Object> p = mdeformweight.__dna__addressof(MDeformWeight.__DNA__FIELD__weight); CPointer<Float> p_weight = p.cast(new Class[]{Float.class});
public MDeformWeight(long __address, Block __block, BlockTable __blockTable)
protected MDeformWeight(MDeformWeight that)
public int getDef_nr() throws java.io.IOException
java.io.IOException
__DNA__FIELD__def_nr
public void setDef_nr(int def_nr) throws java.io.IOException
java.io.IOException
__DNA__FIELD__def_nr
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<MDeformWeight> __io__addressof()