public class tPaletteColorHSV extends CFacade
Struct to hold palette colors for sorting.
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__h
Field descriptor (offset) for struct member 'h'.
|
static long[] |
__DNA__FIELD__rgb
Field descriptor (offset) for struct member 'rgb'.
|
static long[] |
__DNA__FIELD__s
Field descriptor (offset) for struct member 's'.
|
static long[] |
__DNA__FIELD__v
Field descriptor (offset) for struct member 'v'.
|
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 tPaletteColorHSV.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
tPaletteColorHSV(long __address,
Block __block,
BlockTable __blockTable) |
protected |
tPaletteColorHSV(tPaletteColorHSV that) |
Modifier and Type | Method and Description |
---|---|
CPointer<tPaletteColorHSV> |
__io__addressof()
Instantiates a pointer on this instance.
|
float |
getH()
Get method for struct member 'h'.
|
CArrayFacade<java.lang.Float> |
getRgb()
Get method for struct member 'rgb'.
|
float |
getS()
Get method for struct member 's'.
|
float |
getV()
Get method for struct member 'v'.
|
float |
getValue()
Get method for struct member 'value'.
|
void |
setH(float h)
Set method for struct member 'h'.
|
void |
setRgb(CArrayFacade<java.lang.Float> rgb)
Set method for struct member 'rgb'.
|
void |
setS(float s)
Set method for struct member 's'.
|
void |
setV(float v)
Set method for struct member 'v'.
|
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 tPaletteColorHSV.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__rgb
This is how you get a reference on the corresponding field in the struct:
tPaletteColorHSV tpalettecolorhsv = ...; CPointer<Object> p = tpalettecolorhsv.__dna__addressof(tPaletteColorHSV.__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:
tPaletteColorHSV tpalettecolorhsv = ...; CPointer<Object> p = tpalettecolorhsv.__dna__addressof(tPaletteColorHSV.__DNA__FIELD__value); CPointer<Float> p_value = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__h
This is how you get a reference on the corresponding field in the struct:
tPaletteColorHSV tpalettecolorhsv = ...; CPointer<Object> p = tpalettecolorhsv.__dna__addressof(tPaletteColorHSV.__DNA__FIELD__h); CPointer<Float> p_h = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__s
This is how you get a reference on the corresponding field in the struct:
tPaletteColorHSV tpalettecolorhsv = ...; CPointer<Object> p = tpalettecolorhsv.__dna__addressof(tPaletteColorHSV.__DNA__FIELD__s); CPointer<Float> p_s = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__v
This is how you get a reference on the corresponding field in the struct:
tPaletteColorHSV tpalettecolorhsv = ...; CPointer<Object> p = tpalettecolorhsv.__dna__addressof(tPaletteColorHSV.__DNA__FIELD__v); CPointer<Float> p_v = p.cast(new Class[]{Float.class});
public tPaletteColorHSV(long __address, Block __block, BlockTable __blockTable)
protected tPaletteColorHSV(tPaletteColorHSV that)
public CArrayFacade<java.lang.Float> getRgb() throws java.io.IOException
java.io.IOException
__DNA__FIELD__rgb
public void setRgb(CArrayFacade<java.lang.Float> rgb) throws java.io.IOException
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 float getH() throws java.io.IOException
java.io.IOException
__DNA__FIELD__h
public void setH(float h) throws java.io.IOException
java.io.IOException
__DNA__FIELD__h
public float getS() throws java.io.IOException
java.io.IOException
__DNA__FIELD__s
public void setS(float s) throws java.io.IOException
java.io.IOException
__DNA__FIELD__s
public float getV() throws java.io.IOException
java.io.IOException
__DNA__FIELD__v
public void setV(float v) throws java.io.IOException
java.io.IOException
__DNA__FIELD__v
public CPointer<tPaletteColorHSV> __io__addressof()