public class MLoopCol extends CFacade
While alpha is not currently in the 3D Viewport, this may eventually be added back, keep this value set to 255.
While alpha is not currently in the 3D Viewport, this may eventually be added back, keep this value set to 255.Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__a
Field descriptor (offset) for struct member 'a'.
|
static long[] |
__DNA__FIELD__b
Field descriptor (offset) for struct member 'b'.
|
static long[] |
__DNA__FIELD__g
Field descriptor (offset) for struct member 'g'.
|
static long[] |
__DNA__FIELD__r
Field descriptor (offset) for struct member 'r'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct MLoopCol.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
MLoopCol(long __address,
Block __block,
BlockTable __blockTable) |
protected |
MLoopCol(MLoopCol that) |
Modifier and Type | Method and Description |
---|---|
CPointer<MLoopCol> |
__io__addressof()
Instantiates a pointer on this instance.
|
byte |
getA()
Get method for struct member 'a'.
|
byte |
getB()
Get method for struct member 'b'.
|
byte |
getG()
Get method for struct member 'g'.
|
byte |
getR()
Get method for struct member 'r'.
|
void |
setA(byte a)
Set method for struct member 'a'.
|
void |
setB(byte b)
Set method for struct member 'b'.
|
void |
setG(byte g)
Set method for struct member 'g'.
|
void |
setR(byte r)
Set method for struct member 'r'.
|
__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 MLoopCol.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__r
This is how you get a reference on the corresponding field in the struct:
MLoopCol mloopcol = ...; CPointer<Object> p = mloopcol.__dna__addressof(MLoopCol.__DNA__FIELD__r); CPointer<Byte> p_r = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__g
This is how you get a reference on the corresponding field in the struct:
MLoopCol mloopcol = ...; CPointer<Object> p = mloopcol.__dna__addressof(MLoopCol.__DNA__FIELD__g); CPointer<Byte> p_g = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__b
This is how you get a reference on the corresponding field in the struct:
MLoopCol mloopcol = ...; CPointer<Object> p = mloopcol.__dna__addressof(MLoopCol.__DNA__FIELD__b); CPointer<Byte> p_b = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__a
This is how you get a reference on the corresponding field in the struct:
MLoopCol mloopcol = ...; CPointer<Object> p = mloopcol.__dna__addressof(MLoopCol.__DNA__FIELD__a); CPointer<Byte> p_a = p.cast(new Class[]{Byte.class});
public MLoopCol(long __address, Block __block, BlockTable __blockTable)
protected MLoopCol(MLoopCol that)
public byte getR() throws java.io.IOException
java.io.IOException
__DNA__FIELD__r
public void setR(byte r) throws java.io.IOException
java.io.IOException
__DNA__FIELD__r
public byte getG() throws java.io.IOException
java.io.IOException
__DNA__FIELD__g
public void setG(byte g) throws java.io.IOException
java.io.IOException
__DNA__FIELD__g
public byte getB() throws java.io.IOException
java.io.IOException
__DNA__FIELD__b
public void setB(byte b) throws java.io.IOException
java.io.IOException
__DNA__FIELD__b
public byte getA() throws java.io.IOException
java.io.IOException
__DNA__FIELD__a
public void setA(byte a) throws java.io.IOException
java.io.IOException
__DNA__FIELD__a