Package org.blender.dna
Class PaletteColor
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.PaletteColor
-
public class PaletteColor extends CFacade
Generated facet for DNA struct type 'PaletteColor'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field 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.-
Fields inherited from class org.cakelab.blender.nio.CFacade
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
-
-
Constructor Summary
Constructors Modifier Constructor Description PaletteColor(long __address, Block __block, BlockTable __blockTable)
protected
PaletteColor(PaletteColor that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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'.-
Methods inherited from class org.cakelab.blender.nio.CFacade
__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, equals, hashCode
-
-
-
-
Field Detail
-
__DNA__SDNA_INDEX
public static final int __DNA__SDNA_INDEX
This is the sdna index of the struct PaletteColor.It is required when allocating a new block to store data for PaletteColor.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__next
public static final long[] __DNA__FIELD__next
Field descriptor (offset) for struct member 'next'.Pointer Arithmetics
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});
Metadata
- Field: 'next'
- Signature: 'PaletteColor*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__prev
public static final long[] __DNA__FIELD__prev
Field descriptor (offset) for struct member 'prev'.Pointer Arithmetics
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});
Metadata
- Field: 'prev'
- Signature: 'PaletteColor*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__rgb
public static final long[] __DNA__FIELD__rgb
Field descriptor (offset) for struct member 'rgb'.Field Documentation
Blender Source Code
two values, one to store rgb, other to store values for sculpt/weight
Pointer Arithmetics
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});
Metadata
- Field: 'rgb'
- Signature: 'float[3]'
- Actual Size (32bit/64bit): 12/12
-
__DNA__FIELD__value
public static final long[] __DNA__FIELD__value
Field descriptor (offset) for struct member 'value'.Pointer Arithmetics
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});
Metadata
- Field: 'value'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
PaletteColor
public PaletteColor(long __address, Block __block, BlockTable __blockTable)
-
PaletteColor
protected PaletteColor(PaletteColor that)
-
-
Method Detail
-
getNext
public CPointer<PaletteColor> getNext() throws java.io.IOException
Get method for struct member 'next'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__next
-
setNext
public void setNext(CPointer<PaletteColor> next) throws java.io.IOException
Set method for struct member 'next'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__next
-
getPrev
public CPointer<PaletteColor> getPrev() throws java.io.IOException
Get method for struct member 'prev'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__prev
-
setPrev
public void setPrev(CPointer<PaletteColor> prev) throws java.io.IOException
Set method for struct member 'prev'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__prev
-
getRgb
public CArrayFacade<java.lang.Float> getRgb() throws java.io.IOException
Get method for struct member 'rgb'.Field Documentation
Blender Source Code
two values, one to store rgb, other to store values for sculpt/weight
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__rgb
-
setRgb
public void setRgb(CArrayFacade<java.lang.Float> rgb) throws java.io.IOException
Set method for struct member 'rgb'.Field Documentation
Blender Source Code
two values, one to store rgb, other to store values for sculpt/weight
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__rgb
-
getValue
public float getValue() throws java.io.IOException
Get method for struct member 'value'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__value
-
setValue
public void setValue(float value) throws java.io.IOException
Set method for struct member 'value'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__value
-
__io__addressof
public CPointer<PaletteColor> __io__addressof()
Instantiates a pointer on this instance.
-
-