Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__size
Field descriptor (offset) for struct member 'size'.
|
static long[] |
__DNA__FIELD__strength
Field descriptor (offset) for struct member 'strength'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct GP_EditBrush_Data.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
GP_EditBrush_Data(GP_EditBrush_Data that) |
|
GP_EditBrush_Data(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<GP_EditBrush_Data> |
__io__addressof()
Instantiates a pointer on this instance.
|
short |
getFlag()
Get method for struct member 'flag'.
|
short |
getSize()
Get method for struct member 'size'.
|
float |
getStrength()
Get method for struct member 'strength'.
|
void |
setFlag(short flag)
Set method for struct member 'flag'.
|
void |
setSize(short size)
Set method for struct member 'size'.
|
void |
setStrength(float strength)
Set method for struct member 'strength'.
|
__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_EditBrush_Data.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__size
radius of brush
This is how you get a reference on the corresponding field in the struct:
GP_EditBrush_Data gp_editbrush_data = ...; CPointer<Object> p = gp_editbrush_data.__dna__addressof(GP_EditBrush_Data.__DNA__FIELD__size); CPointer<Short> p_size = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__flag
eGP_EditBrush_Flag
This is how you get a reference on the corresponding field in the struct:
GP_EditBrush_Data gp_editbrush_data = ...; CPointer<Object> p = gp_editbrush_data.__dna__addressof(GP_EditBrush_Data.__DNA__FIELD__flag); CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__strength
strength of effect
This is how you get a reference on the corresponding field in the struct:
GP_EditBrush_Data gp_editbrush_data = ...; CPointer<Object> p = gp_editbrush_data.__dna__addressof(GP_EditBrush_Data.__DNA__FIELD__strength); CPointer<Float> p_strength = p.cast(new Class[]{Float.class});
public GP_EditBrush_Data(long __address, Block __block, BlockTable __blockTable)
protected GP_EditBrush_Data(GP_EditBrush_Data that)
public short getSize() throws java.io.IOException
radius of brush
java.io.IOException
__DNA__FIELD__size
public void setSize(short size) throws java.io.IOException
radius of brush
java.io.IOException
__DNA__FIELD__size
public short getFlag() throws java.io.IOException
eGP_EditBrush_Flag
java.io.IOException
__DNA__FIELD__flag
public void setFlag(short flag) throws java.io.IOException
eGP_EditBrush_Flag
java.io.IOException
__DNA__FIELD__flag
public float getStrength() throws java.io.IOException
strength of effect
java.io.IOException
__DNA__FIELD__strength
public void setStrength(float strength) throws java.io.IOException
strength of effect
java.io.IOException
__DNA__FIELD__strength
public CPointer<GP_EditBrush_Data> __io__addressof()