public class PaletteColor extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__next
Field descriptor (offset) for struct member 'next'.
|
static long[] |
__DNA__FIELD__prev
Field descriptor (offset) for struct member 'prev'.
|
static long[] |
__DNA__FIELD__rgb
Field descriptor (offset) for struct member 'rgb'.
|
static long[] |
__DNA__FIELD__value
Field descriptor (offset) for struct member 'value'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct PaletteColor.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
PaletteColor(long __address,
Block __block,
BlockTable __blockTable) |
protected |
PaletteColor(PaletteColor that) |
Modifier and Type | Method and Description |
---|---|
CPointer<PaletteColor> |
__io__addressof()
Instantiates a pointer on this instance.
|
CPointer<PaletteColor> |
getNext()
Get method for struct member 'next'.
|
CPointer<PaletteColor> |
getPrev()
Get method for struct member 'prev'.
|
CArrayFacade<java.lang.Float> |
getRgb()
Get method for struct member 'rgb'.
|
float |
getValue()
Get method for struct member 'value'.
|
void |
setNext(CPointer<PaletteColor> next)
Set method for struct member 'next'.
|
void |
setPrev(CPointer<PaletteColor> prev)
Set method for struct member 'prev'.
|
void |
setRgb(CArrayFacade<java.lang.Float> rgb)
Set method for struct member 'rgb'.
|
void |
setValue(float value)
Set method for struct member 'value'.
|
__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 PaletteColor.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__next
This is how you get a reference on the corresponding field in the struct:
PaletteColor palettecolor = ...; CPointer<Object> p = palettecolor.__dna__addressof(PaletteColor.__DNA__FIELD__next); CPointer<CPointer<PaletteColor>> p_next = p.cast(new Class[]{CPointer.class, PaletteColor.class});
public static final long[] __DNA__FIELD__prev
This is how you get a reference on the corresponding field in the struct:
PaletteColor palettecolor = ...; CPointer<Object> p = palettecolor.__dna__addressof(PaletteColor.__DNA__FIELD__prev); CPointer<CPointer<PaletteColor>> p_prev = p.cast(new Class[]{CPointer.class, PaletteColor.class});
public static final long[] __DNA__FIELD__rgb
two values, one to store rgb, other to store values for sculpt/weight
This is how you get a reference on the corresponding field in the struct:
PaletteColor palettecolor = ...; CPointer<Object> p = palettecolor.__dna__addressof(PaletteColor.__DNA__FIELD__rgb); CPointer<CArrayFacade<Float>> p_rgb = p.cast(new Class[]{CArrayFacade.class, Float.class});
public static final long[] __DNA__FIELD__value
This is how you get a reference on the corresponding field in the struct:
PaletteColor palettecolor = ...; CPointer<Object> p = palettecolor.__dna__addressof(PaletteColor.__DNA__FIELD__value); CPointer<Float> p_value = p.cast(new Class[]{Float.class});
public PaletteColor(long __address, Block __block, BlockTable __blockTable)
protected PaletteColor(PaletteColor that)
public CPointer<PaletteColor> getNext() throws java.io.IOException
java.io.IOException
__DNA__FIELD__next
public void setNext(CPointer<PaletteColor> next) throws java.io.IOException
java.io.IOException
__DNA__FIELD__next
public CPointer<PaletteColor> getPrev() throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev
public void setPrev(CPointer<PaletteColor> prev) throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev
public CArrayFacade<java.lang.Float> getRgb() throws java.io.IOException
two values, one to store rgb, other to store values for sculpt/weight
java.io.IOException
__DNA__FIELD__rgb
public void setRgb(CArrayFacade<java.lang.Float> rgb) throws java.io.IOException
two values, one to store rgb, other to store values for sculpt/weight
java.io.IOException
__DNA__FIELD__rgb
public float getValue() throws java.io.IOException
java.io.IOException
__DNA__FIELD__value
public void setValue(float value) throws java.io.IOException
java.io.IOException
__DNA__FIELD__value
public CPointer<PaletteColor> __io__addressof()