public class Palette extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__active_color
Field descriptor (offset) for struct member 'active_color'.
|
static long[] |
__DNA__FIELD__colors
Field descriptor (offset) for struct member 'colors'.
|
static long[] |
__DNA__FIELD__deleted
Field descriptor (offset) for struct member 'deleted'.
|
static long[] |
__DNA__FIELD__id
Field descriptor (offset) for struct member 'id'.
|
static long[] |
__DNA__FIELD__pad
Field descriptor (offset) for struct member 'pad'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct Palette.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
Palette(long __address,
Block __block,
BlockTable __blockTable) |
protected |
Palette(Palette that) |
Modifier and Type | Method and Description |
---|---|
CPointer<Palette> |
__io__addressof()
Instantiates a pointer on this instance.
|
int |
getActive_color()
Get method for struct member 'active_color'.
|
ListBase |
getColors()
Get method for struct member 'colors'.
|
ListBase |
getDeleted()
Get method for struct member 'deleted'.
|
ID |
getId()
Get method for struct member 'id'.
|
int |
getPad()
Get method for struct member 'pad'.
|
void |
setActive_color(int active_color)
Set method for struct member 'active_color'.
|
void |
setColors(ListBase colors)
Set method for struct member 'colors'.
|
void |
setDeleted(ListBase deleted)
Set method for struct member 'deleted'.
|
void |
setId(ID id)
Set method for struct member 'id'.
|
void |
setPad(int pad)
Set method for struct member 'pad'.
|
__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 Palette.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__id
This is how you get a reference on the corresponding field in the struct:
Palette palette = ...; CPointer<Object> p = palette.__dna__addressof(Palette.__DNA__FIELD__id); CPointer<ID> p_id = p.cast(new Class[]{ID.class});
public static final long[] __DNA__FIELD__colors
This is how you get a reference on the corresponding field in the struct:
Palette palette = ...; CPointer<Object> p = palette.__dna__addressof(Palette.__DNA__FIELD__colors); CPointer<ListBase> p_colors = p.cast(new Class[]{ListBase.class});
public static final long[] __DNA__FIELD__deleted
This is how you get a reference on the corresponding field in the struct:
Palette palette = ...; CPointer<Object> p = palette.__dna__addressof(Palette.__DNA__FIELD__deleted); CPointer<ListBase> p_deleted = p.cast(new Class[]{ListBase.class});
public static final long[] __DNA__FIELD__active_color
This is how you get a reference on the corresponding field in the struct:
Palette palette = ...; CPointer<Object> p = palette.__dna__addressof(Palette.__DNA__FIELD__active_color); CPointer<Integer> p_active_color = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__pad
This is how you get a reference on the corresponding field in the struct:
Palette palette = ...; CPointer<Object> p = palette.__dna__addressof(Palette.__DNA__FIELD__pad); CPointer<Integer> p_pad = p.cast(new Class[]{Integer.class});
public Palette(long __address, Block __block, BlockTable __blockTable)
protected Palette(Palette that)
public ID getId() throws java.io.IOException
java.io.IOException
__DNA__FIELD__id
public void setId(ID id) throws java.io.IOException
java.io.IOException
__DNA__FIELD__id
public ListBase getColors() throws java.io.IOException
java.io.IOException
__DNA__FIELD__colors
public void setColors(ListBase colors) throws java.io.IOException
java.io.IOException
__DNA__FIELD__colors
public ListBase getDeleted() throws java.io.IOException
java.io.IOException
__DNA__FIELD__deleted
public void setDeleted(ListBase deleted) throws java.io.IOException
java.io.IOException
__DNA__FIELD__deleted
public int getActive_color() throws java.io.IOException
java.io.IOException
__DNA__FIELD__active_color
public void setActive_color(int active_color) throws java.io.IOException
java.io.IOException
__DNA__FIELD__active_color
public int getPad() throws java.io.IOException
java.io.IOException
__DNA__FIELD__pad
public void setPad(int pad) throws java.io.IOException
java.io.IOException
__DNA__FIELD__pad