public class MPropCol extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__color
Field descriptor (offset) for struct member 'color'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct MPropCol.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
MPropCol(long __address,
Block __block,
BlockTable __blockTable) |
protected |
MPropCol(MPropCol that) |
Modifier and Type | Method and Description |
---|---|
CPointer<MPropCol> |
__io__addressof()
Instantiates a pointer on this instance.
|
CArrayFacade<java.lang.Float> |
getColor()
Get method for struct member 'color'.
|
void |
setColor(CArrayFacade<java.lang.Float> color)
Set method for struct member 'color'.
|
__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 MPropCol.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__color
This is how you get a reference on the corresponding field in the struct:
MPropCol mpropcol = ...; CPointer<Object> p = mpropcol.__dna__addressof(MPropCol.__DNA__FIELD__color); CPointer<CArrayFacade<Float>> p_color = p.cast(new Class[]{CArrayFacade.class, Float.class});
public MPropCol(long __address, Block __block, BlockTable __blockTable)
protected MPropCol(MPropCol that)
public CArrayFacade<java.lang.Float> getColor() throws java.io.IOException
java.io.IOException
__DNA__FIELD__color
public void setColor(CArrayFacade<java.lang.Float> color) throws java.io.IOException
java.io.IOException
__DNA__FIELD__color