public class bGPDpalettecolor extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.
|
static long[] |
__DNA__FIELD__color
Field descriptor (offset) for struct member 'color'.
|
static long[] |
__DNA__FIELD__fill
Field descriptor (offset) for struct member 'fill'.
|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__info
Field descriptor (offset) for struct member 'info'.
|
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 int |
__DNA__SDNA_INDEX
This is the sdna index of the struct bGPDpalettecolor.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
bGPDpalettecolor(bGPDpalettecolor that) |
|
bGPDpalettecolor(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<bGPDpalettecolor> |
__io__addressof()
Instantiates a pointer on this instance.
|
CArrayFacade<java.lang.Byte> |
get_pad()
Get method for struct member '_pad'.
|
CArrayFacade<java.lang.Float> |
getColor()
Get method for struct member 'color'.
|
CArrayFacade<java.lang.Float> |
getFill()
Get method for struct member 'fill'.
|
short |
getFlag()
Get method for struct member 'flag'.
|
CArrayFacade<java.lang.Byte> |
getInfo()
Get method for struct member 'info'.
|
CPointer<bGPDpalettecolor> |
getNext()
Get method for struct member 'next'.
|
CPointer<bGPDpalettecolor> |
getPrev()
Get method for struct member 'prev'.
|
void |
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.
|
void |
setColor(CArrayFacade<java.lang.Float> color)
Set method for struct member 'color'.
|
void |
setFill(CArrayFacade<java.lang.Float> fill)
Set method for struct member 'fill'.
|
void |
setFlag(short flag)
Set method for struct member 'flag'.
|
void |
setInfo(CArrayFacade<java.lang.Byte> info)
Set method for struct member 'info'.
|
void |
setNext(CPointer<bGPDpalettecolor> next)
Set method for struct member 'next'.
|
void |
setPrev(CPointer<bGPDpalettecolor> prev)
Set method for struct member 'prev'.
|
__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 bGPDpalettecolor.
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:
bGPDpalettecolor bgpdpalettecolor = ...; CPointer<Object> p = bgpdpalettecolor.__dna__addressof(bGPDpalettecolor.__DNA__FIELD__next); CPointer<CPointer<bGPDpalettecolor>> p_next = p.cast(new Class[]{CPointer.class, bGPDpalettecolor.class});
public static final long[] __DNA__FIELD__prev
This is how you get a reference on the corresponding field in the struct:
bGPDpalettecolor bgpdpalettecolor = ...; CPointer<Object> p = bgpdpalettecolor.__dna__addressof(bGPDpalettecolor.__DNA__FIELD__prev); CPointer<CPointer<bGPDpalettecolor>> p_prev = p.cast(new Class[]{CPointer.class, bGPDpalettecolor.class});
public static final long[] __DNA__FIELD__info
Color name. Must be unique.
This is how you get a reference on the corresponding field in the struct:
bGPDpalettecolor bgpdpalettecolor = ...; CPointer<Object> p = bgpdpalettecolor.__dna__addressof(bGPDpalettecolor.__DNA__FIELD__info); CPointer<CArrayFacade<Byte>> p_info = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__color
This is how you get a reference on the corresponding field in the struct:
bGPDpalettecolor bgpdpalettecolor = ...; CPointer<Object> p = bgpdpalettecolor.__dna__addressof(bGPDpalettecolor.__DNA__FIELD__color); CPointer<CArrayFacade<Float>> p_color = p.cast(new Class[]{CArrayFacade.class, Float.class});
public static final long[] __DNA__FIELD__fill
Color that should be used for drawing "fills" for strokes.
This is how you get a reference on the corresponding field in the struct:
bGPDpalettecolor bgpdpalettecolor = ...; CPointer<Object> p = bgpdpalettecolor.__dna__addressof(bGPDpalettecolor.__DNA__FIELD__fill); CPointer<CArrayFacade<Float>> p_fill = p.cast(new Class[]{CArrayFacade.class, Float.class});
public static final long[] __DNA__FIELD__flag
Settings for palette color.
This is how you get a reference on the corresponding field in the struct:
bGPDpalettecolor bgpdpalettecolor = ...; CPointer<Object> p = bgpdpalettecolor.__dna__addressof(bGPDpalettecolor.__DNA__FIELD__flag); CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD___pad
Padding for compiler alignment error.
This is how you get a reference on the corresponding field in the struct:
bGPDpalettecolor bgpdpalettecolor = ...; CPointer<Object> p = bgpdpalettecolor.__dna__addressof(bGPDpalettecolor.__DNA__FIELD___pad); CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public bGPDpalettecolor(long __address, Block __block, BlockTable __blockTable)
protected bGPDpalettecolor(bGPDpalettecolor that)
public CPointer<bGPDpalettecolor> getNext() throws java.io.IOException
java.io.IOException
__DNA__FIELD__next
public void setNext(CPointer<bGPDpalettecolor> next) throws java.io.IOException
java.io.IOException
__DNA__FIELD__next
public CPointer<bGPDpalettecolor> getPrev() throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev
public void setPrev(CPointer<bGPDpalettecolor> prev) throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev
public CArrayFacade<java.lang.Byte> getInfo() throws java.io.IOException
Color name. Must be unique.
java.io.IOException
__DNA__FIELD__info
public void setInfo(CArrayFacade<java.lang.Byte> info) throws java.io.IOException
Color name. Must be unique.
java.io.IOException
__DNA__FIELD__info
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
public CArrayFacade<java.lang.Float> getFill() throws java.io.IOException
Color that should be used for drawing "fills" for strokes.
java.io.IOException
__DNA__FIELD__fill
public void setFill(CArrayFacade<java.lang.Float> fill) throws java.io.IOException
Color that should be used for drawing "fills" for strokes.
java.io.IOException
__DNA__FIELD__fill
public short getFlag() throws java.io.IOException
Settings for palette color.
java.io.IOException
__DNA__FIELD__flag
public void setFlag(short flag) throws java.io.IOException
Settings for palette color.
java.io.IOException
__DNA__FIELD__flag
public CArrayFacade<java.lang.Byte> get_pad() throws java.io.IOException
Padding for compiler alignment error.
java.io.IOException
__DNA__FIELD___pad
public void set_pad(CArrayFacade<java.lang.Byte> _pad) throws java.io.IOException
Padding for compiler alignment error.
java.io.IOException
__DNA__FIELD___pad
public CPointer<bGPDpalettecolor> __io__addressof()