public class GP_BrushEdit_Settings extends CFacade
GPencil Stroke Sculpting Settings
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__alpha
Field descriptor (offset) for struct member 'alpha'.
|
static long[] |
__DNA__FIELD__brush
Field descriptor (offset) for struct member 'brush'.
|
static long[] |
__DNA__FIELD__brushtype
Field descriptor (offset) for struct member 'brushtype'.
|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__pad
Field descriptor (offset) for struct member 'pad'.
|
static long[] |
__DNA__FIELD__paintcursor
Field descriptor (offset) for struct member 'paintcursor'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct GP_BrushEdit_Settings.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
GP_BrushEdit_Settings(GP_BrushEdit_Settings that) |
|
GP_BrushEdit_Settings(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<GP_BrushEdit_Settings> |
__io__addressof()
Instantiates a pointer on this instance.
|
float |
getAlpha()
Get method for struct member 'alpha'.
|
CArrayFacade<GP_EditBrush_Data> |
getBrush()
Get method for struct member 'brush'.
|
int |
getBrushtype()
Get method for struct member 'brushtype'.
|
int |
getFlag()
Get method for struct member 'flag'.
|
CArrayFacade<java.lang.Byte> |
getPad()
Get method for struct member 'pad'.
|
CPointer<java.lang.Object> |
getPaintcursor()
Get method for struct member 'paintcursor'.
|
void |
setAlpha(float alpha)
Set method for struct member 'alpha'.
|
void |
setBrush(CArrayFacade<GP_EditBrush_Data> brush)
Set method for struct member 'brush'.
|
void |
setBrushtype(int brushtype)
Set method for struct member 'brushtype'.
|
void |
setFlag(int flag)
Set method for struct member 'flag'.
|
void |
setPad(CArrayFacade<java.lang.Byte> pad)
Set method for struct member 'pad'.
|
void |
setPaintcursor(CPointer<java.lang.Object> paintcursor)
Set method for struct member 'paintcursor'.
|
__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 GP_BrushEdit_Settings.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__brush
TOT_GP_EDITBRUSH_TYPES
This is how you get a reference on the corresponding field in the struct:
GP_BrushEdit_Settings gp_brushedit_settings = ...; CPointer<Object> p = gp_brushedit_settings.__dna__addressof(GP_BrushEdit_Settings.__DNA__FIELD__brush); CPointer<CArrayFacade<GP_EditBrush_Data>> p_brush = p.cast(new Class[]{CArrayFacade.class, GP_EditBrush_Data.class});
public static final long[] __DNA__FIELD__paintcursor
runtime
This is how you get a reference on the corresponding field in the struct:
GP_BrushEdit_Settings gp_brushedit_settings = ...; CPointer<Object> p = gp_brushedit_settings.__dna__addressof(GP_BrushEdit_Settings.__DNA__FIELD__paintcursor); CPointer<CPointer<Object>> p_paintcursor = p.cast(new Class[]{CPointer.class, Object.class});
public static final long[] __DNA__FIELD__brushtype
eGP_EditBrush_Types
This is how you get a reference on the corresponding field in the struct:
GP_BrushEdit_Settings gp_brushedit_settings = ...; CPointer<Object> p = gp_brushedit_settings.__dna__addressof(GP_BrushEdit_Settings.__DNA__FIELD__brushtype); CPointer<Integer> p_brushtype = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__flag
eGP_BrushEdit_SettingsFlag
This is how you get a reference on the corresponding field in the struct:
GP_BrushEdit_Settings gp_brushedit_settings = ...; CPointer<Object> p = gp_brushedit_settings.__dna__addressof(GP_BrushEdit_Settings.__DNA__FIELD__flag); CPointer<Integer> p_flag = 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:
GP_BrushEdit_Settings gp_brushedit_settings = ...; CPointer<Object> p = gp_brushedit_settings.__dna__addressof(GP_BrushEdit_Settings.__DNA__FIELD__pad); CPointer<CArrayFacade<Byte>> p_pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__alpha
alpha factor for selection color
This is how you get a reference on the corresponding field in the struct:
GP_BrushEdit_Settings gp_brushedit_settings = ...; CPointer<Object> p = gp_brushedit_settings.__dna__addressof(GP_BrushEdit_Settings.__DNA__FIELD__alpha); CPointer<Float> p_alpha = p.cast(new Class[]{Float.class});
public GP_BrushEdit_Settings(long __address, Block __block, BlockTable __blockTable)
protected GP_BrushEdit_Settings(GP_BrushEdit_Settings that)
public CArrayFacade<GP_EditBrush_Data> getBrush() throws java.io.IOException
TOT_GP_EDITBRUSH_TYPES
java.io.IOException
__DNA__FIELD__brush
public void setBrush(CArrayFacade<GP_EditBrush_Data> brush) throws java.io.IOException
TOT_GP_EDITBRUSH_TYPES
java.io.IOException
__DNA__FIELD__brush
public CPointer<java.lang.Object> getPaintcursor() throws java.io.IOException
runtime
java.io.IOException
__DNA__FIELD__paintcursor
public void setPaintcursor(CPointer<java.lang.Object> paintcursor) throws java.io.IOException
runtime
java.io.IOException
__DNA__FIELD__paintcursor
public int getBrushtype() throws java.io.IOException
eGP_EditBrush_Types
java.io.IOException
__DNA__FIELD__brushtype
public void setBrushtype(int brushtype) throws java.io.IOException
eGP_EditBrush_Types
java.io.IOException
__DNA__FIELD__brushtype
public int getFlag() throws java.io.IOException
eGP_BrushEdit_SettingsFlag
java.io.IOException
__DNA__FIELD__flag
public void setFlag(int flag) throws java.io.IOException
eGP_BrushEdit_SettingsFlag
java.io.IOException
__DNA__FIELD__flag
public CArrayFacade<java.lang.Byte> getPad() throws java.io.IOException
java.io.IOException
__DNA__FIELD__pad
public void setPad(CArrayFacade<java.lang.Byte> pad) throws java.io.IOException
java.io.IOException
__DNA__FIELD__pad
public float getAlpha() throws java.io.IOException
alpha factor for selection color
java.io.IOException
__DNA__FIELD__alpha
public void setAlpha(float alpha) throws java.io.IOException
alpha factor for selection color
java.io.IOException
__DNA__FIELD__alpha
public CPointer<GP_BrushEdit_Settings> __io__addressof()