public class bGPDbrush extends CFacade
GP brush (used for new strokes)
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__cur_jitter
Field descriptor (offset) for struct member 'cur_jitter'.
|
static long[] |
__DNA__FIELD__cur_sensitivity
Field descriptor (offset) for struct member 'cur_sensitivity'.
|
static long[] |
__DNA__FIELD__cur_strength
Field descriptor (offset) for struct member 'cur_strength'.
|
static long[] |
__DNA__FIELD__draw_angle
Field descriptor (offset) for struct member 'draw_angle'.
|
static long[] |
__DNA__FIELD__draw_angle_factor
Field descriptor (offset) for struct member 'draw_angle_factor'.
|
static long[] |
__DNA__FIELD__draw_jitter
Field descriptor (offset) for struct member 'draw_jitter'.
|
static long[] |
__DNA__FIELD__draw_random_press
Field descriptor (offset) for struct member 'draw_random_press'.
|
static long[] |
__DNA__FIELD__draw_random_sub
Field descriptor (offset) for struct member 'draw_random_sub'.
|
static long[] |
__DNA__FIELD__draw_sensitivity
Field descriptor (offset) for struct member 'draw_sensitivity'.
|
static long[] |
__DNA__FIELD__draw_smoothfac
Field descriptor (offset) for struct member 'draw_smoothfac'.
|
static long[] |
__DNA__FIELD__draw_smoothlvl
Field descriptor (offset) for struct member 'draw_smoothlvl'.
|
static long[] |
__DNA__FIELD__draw_strength
Field descriptor (offset) for struct member 'draw_strength'.
|
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 long[] |
__DNA__FIELD__sublevel
Field descriptor (offset) for struct member 'sublevel'.
|
static long[] |
__DNA__FIELD__thickness
Field descriptor (offset) for struct member 'thickness'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct bGPDbrush.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
bGPDbrush(bGPDbrush that) |
|
bGPDbrush(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<bGPDbrush> |
__io__addressof()
Instantiates a pointer on this instance.
|
CPointer<CurveMapping> |
getCur_jitter()
Get method for struct member 'cur_jitter'.
|
CPointer<CurveMapping> |
getCur_sensitivity()
Get method for struct member 'cur_sensitivity'.
|
CPointer<CurveMapping> |
getCur_strength()
Get method for struct member 'cur_strength'.
|
float |
getDraw_angle_factor()
Get method for struct member 'draw_angle_factor'.
|
float |
getDraw_angle()
Get method for struct member 'draw_angle'.
|
float |
getDraw_jitter()
Get method for struct member 'draw_jitter'.
|
float |
getDraw_random_press()
Get method for struct member 'draw_random_press'.
|
float |
getDraw_random_sub()
Get method for struct member 'draw_random_sub'.
|
float |
getDraw_sensitivity()
Get method for struct member 'draw_sensitivity'.
|
float |
getDraw_smoothfac()
Get method for struct member 'draw_smoothfac'.
|
short |
getDraw_smoothlvl()
Get method for struct member 'draw_smoothlvl'.
|
float |
getDraw_strength()
Get method for struct member 'draw_strength'.
|
short |
getFlag()
Get method for struct member 'flag'.
|
CArrayFacade<java.lang.Byte> |
getInfo()
Get method for struct member 'info'.
|
CPointer<bGPDbrush> |
getNext()
Get method for struct member 'next'.
|
CPointer<bGPDbrush> |
getPrev()
Get method for struct member 'prev'.
|
short |
getSublevel()
Get method for struct member 'sublevel'.
|
short |
getThickness()
Get method for struct member 'thickness'.
|
void |
setCur_jitter(CPointer<CurveMapping> cur_jitter)
Set method for struct member 'cur_jitter'.
|
void |
setCur_sensitivity(CPointer<CurveMapping> cur_sensitivity)
Set method for struct member 'cur_sensitivity'.
|
void |
setCur_strength(CPointer<CurveMapping> cur_strength)
Set method for struct member 'cur_strength'.
|
void |
setDraw_angle_factor(float draw_angle_factor)
Set method for struct member 'draw_angle_factor'.
|
void |
setDraw_angle(float draw_angle)
Set method for struct member 'draw_angle'.
|
void |
setDraw_jitter(float draw_jitter)
Set method for struct member 'draw_jitter'.
|
void |
setDraw_random_press(float draw_random_press)
Set method for struct member 'draw_random_press'.
|
void |
setDraw_random_sub(float draw_random_sub)
Set method for struct member 'draw_random_sub'.
|
void |
setDraw_sensitivity(float draw_sensitivity)
Set method for struct member 'draw_sensitivity'.
|
void |
setDraw_smoothfac(float draw_smoothfac)
Set method for struct member 'draw_smoothfac'.
|
void |
setDraw_smoothlvl(short draw_smoothlvl)
Set method for struct member 'draw_smoothlvl'.
|
void |
setDraw_strength(float draw_strength)
Set method for struct member 'draw_strength'.
|
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<bGPDbrush> next)
Set method for struct member 'next'.
|
void |
setPrev(CPointer<bGPDbrush> prev)
Set method for struct member 'prev'.
|
void |
setSublevel(short sublevel)
Set method for struct member 'sublevel'.
|
void |
setThickness(short thickness)
Set method for struct member 'thickness'.
|
__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 bGPDbrush.
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:
bGPDbrush bgpdbrush = ...; CPointer<Object> p = bgpdbrush.__dna__addressof(bGPDbrush.__DNA__FIELD__next); CPointer<CPointer<bGPDbrush>> p_next = p.cast(new Class[]{CPointer.class, bGPDbrush.class});
public static final long[] __DNA__FIELD__prev
This is how you get a reference on the corresponding field in the struct:
bGPDbrush bgpdbrush = ...; CPointer<Object> p = bgpdbrush.__dna__addressof(bGPDbrush.__DNA__FIELD__prev); CPointer<CPointer<bGPDbrush>> p_prev = p.cast(new Class[]{CPointer.class, bGPDbrush.class});
public static final long[] __DNA__FIELD__info
Brush
name. Must be unique.
This is how you get a reference on the corresponding field in the struct:
bGPDbrush bgpdbrush = ...; CPointer<Object> p = bgpdbrush.__dna__addressof(bGPDbrush.__DNA__FIELD__info); CPointer<CArrayFacade<Byte>> p_info = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__thickness
thickness to apply to strokes
This is how you get a reference on the corresponding field in the struct:
bGPDbrush bgpdbrush = ...; CPointer<Object> p = bgpdbrush.__dna__addressof(bGPDbrush.__DNA__FIELD__thickness); CPointer<Short> p_thickness = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__flag
This is how you get a reference on the corresponding field in the struct:
bGPDbrush bgpdbrush = ...; CPointer<Object> p = bgpdbrush.__dna__addressof(bGPDbrush.__DNA__FIELD__flag); CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__draw_smoothfac
amount of smoothing to apply to newly created strokes
This is how you get a reference on the corresponding field in the struct:
bGPDbrush bgpdbrush = ...; CPointer<Object> p = bgpdbrush.__dna__addressof(bGPDbrush.__DNA__FIELD__draw_smoothfac); CPointer<Float> p_draw_smoothfac = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__draw_smoothlvl
number of times to apply smooth factor to new strokes
This is how you get a reference on the corresponding field in the struct:
bGPDbrush bgpdbrush = ...; CPointer<Object> p = bgpdbrush.__dna__addressof(bGPDbrush.__DNA__FIELD__draw_smoothlvl); CPointer<Short> p_draw_smoothlvl = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__sublevel
number of times to subdivide new strokes
This is how you get a reference on the corresponding field in the struct:
bGPDbrush bgpdbrush = ...; CPointer<Object> p = bgpdbrush.__dna__addressof(bGPDbrush.__DNA__FIELD__sublevel); CPointer<Short> p_sublevel = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__draw_sensitivity
amount of sensivity to apply to newly created strokes
This is how you get a reference on the corresponding field in the struct:
bGPDbrush bgpdbrush = ...; CPointer<Object> p = bgpdbrush.__dna__addressof(bGPDbrush.__DNA__FIELD__draw_sensitivity); CPointer<Float> p_draw_sensitivity = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__draw_strength
amount of alpha strength to apply to newly created strokes
This is how you get a reference on the corresponding field in the struct:
bGPDbrush bgpdbrush = ...; CPointer<Object> p = bgpdbrush.__dna__addressof(bGPDbrush.__DNA__FIELD__draw_strength); CPointer<Float> p_draw_strength = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__draw_jitter
amount of jitter to apply to newly created strokes
This is how you get a reference on the corresponding field in the struct:
bGPDbrush bgpdbrush = ...; CPointer<Object> p = bgpdbrush.__dna__addressof(bGPDbrush.__DNA__FIELD__draw_jitter); CPointer<Float> p_draw_jitter = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__draw_angle
angle when the brush has full thickness
This is how you get a reference on the corresponding field in the struct:
bGPDbrush bgpdbrush = ...; CPointer<Object> p = bgpdbrush.__dna__addressof(bGPDbrush.__DNA__FIELD__draw_angle); CPointer<Float> p_draw_angle = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__draw_angle_factor
factor to apply when angle change (only 90 degrees)
This is how you get a reference on the corresponding field in the struct:
bGPDbrush bgpdbrush = ...; CPointer<Object> p = bgpdbrush.__dna__addressof(bGPDbrush.__DNA__FIELD__draw_angle_factor); CPointer<Float> p_draw_angle_factor = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__draw_random_press
factor of randomness for sensitivity and strength
This is how you get a reference on the corresponding field in the struct:
bGPDbrush bgpdbrush = ...; CPointer<Object> p = bgpdbrush.__dna__addressof(bGPDbrush.__DNA__FIELD__draw_random_press); CPointer<Float> p_draw_random_press = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__draw_random_sub
factor of randomness for subdivision
This is how you get a reference on the corresponding field in the struct:
bGPDbrush bgpdbrush = ...; CPointer<Object> p = bgpdbrush.__dna__addressof(bGPDbrush.__DNA__FIELD__draw_random_sub); CPointer<Float> p_draw_random_sub = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__cur_sensitivity
This is how you get a reference on the corresponding field in the struct:
bGPDbrush bgpdbrush = ...; CPointer<Object> p = bgpdbrush.__dna__addressof(bGPDbrush.__DNA__FIELD__cur_sensitivity); CPointer<CPointer<CurveMapping>> p_cur_sensitivity = p.cast(new Class[]{CPointer.class, CurveMapping.class});
public static final long[] __DNA__FIELD__cur_strength
This is how you get a reference on the corresponding field in the struct:
bGPDbrush bgpdbrush = ...; CPointer<Object> p = bgpdbrush.__dna__addressof(bGPDbrush.__DNA__FIELD__cur_strength); CPointer<CPointer<CurveMapping>> p_cur_strength = p.cast(new Class[]{CPointer.class, CurveMapping.class});
public static final long[] __DNA__FIELD__cur_jitter
This is how you get a reference on the corresponding field in the struct:
bGPDbrush bgpdbrush = ...; CPointer<Object> p = bgpdbrush.__dna__addressof(bGPDbrush.__DNA__FIELD__cur_jitter); CPointer<CPointer<CurveMapping>> p_cur_jitter = p.cast(new Class[]{CPointer.class, CurveMapping.class});
public bGPDbrush(long __address, Block __block, BlockTable __blockTable)
protected bGPDbrush(bGPDbrush that)
public CPointer<bGPDbrush> getNext() throws java.io.IOException
java.io.IOException
__DNA__FIELD__next
public void setNext(CPointer<bGPDbrush> next) throws java.io.IOException
java.io.IOException
__DNA__FIELD__next
public CPointer<bGPDbrush> getPrev() throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev
public void setPrev(CPointer<bGPDbrush> prev) throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev
public CArrayFacade<java.lang.Byte> getInfo() throws java.io.IOException
Brush
name. Must be unique.
java.io.IOException
__DNA__FIELD__info
public void setInfo(CArrayFacade<java.lang.Byte> info) throws java.io.IOException
Brush
name. Must be unique.
java.io.IOException
__DNA__FIELD__info
public short getThickness() throws java.io.IOException
thickness to apply to strokes
java.io.IOException
__DNA__FIELD__thickness
public void setThickness(short thickness) throws java.io.IOException
thickness to apply to strokes
java.io.IOException
__DNA__FIELD__thickness
public short getFlag() throws java.io.IOException
java.io.IOException
__DNA__FIELD__flag
public void setFlag(short flag) throws java.io.IOException
java.io.IOException
__DNA__FIELD__flag
public float getDraw_smoothfac() throws java.io.IOException
amount of smoothing to apply to newly created strokes
java.io.IOException
__DNA__FIELD__draw_smoothfac
public void setDraw_smoothfac(float draw_smoothfac) throws java.io.IOException
amount of smoothing to apply to newly created strokes
java.io.IOException
__DNA__FIELD__draw_smoothfac
public short getDraw_smoothlvl() throws java.io.IOException
number of times to apply smooth factor to new strokes
java.io.IOException
__DNA__FIELD__draw_smoothlvl
public void setDraw_smoothlvl(short draw_smoothlvl) throws java.io.IOException
number of times to apply smooth factor to new strokes
java.io.IOException
__DNA__FIELD__draw_smoothlvl
public short getSublevel() throws java.io.IOException
number of times to subdivide new strokes
java.io.IOException
__DNA__FIELD__sublevel
public void setSublevel(short sublevel) throws java.io.IOException
number of times to subdivide new strokes
java.io.IOException
__DNA__FIELD__sublevel
public float getDraw_sensitivity() throws java.io.IOException
amount of sensivity to apply to newly created strokes
java.io.IOException
__DNA__FIELD__draw_sensitivity
public void setDraw_sensitivity(float draw_sensitivity) throws java.io.IOException
amount of sensivity to apply to newly created strokes
java.io.IOException
__DNA__FIELD__draw_sensitivity
public float getDraw_strength() throws java.io.IOException
amount of alpha strength to apply to newly created strokes
java.io.IOException
__DNA__FIELD__draw_strength
public void setDraw_strength(float draw_strength) throws java.io.IOException
amount of alpha strength to apply to newly created strokes
java.io.IOException
__DNA__FIELD__draw_strength
public float getDraw_jitter() throws java.io.IOException
amount of jitter to apply to newly created strokes
java.io.IOException
__DNA__FIELD__draw_jitter
public void setDraw_jitter(float draw_jitter) throws java.io.IOException
amount of jitter to apply to newly created strokes
java.io.IOException
__DNA__FIELD__draw_jitter
public float getDraw_angle() throws java.io.IOException
angle when the brush has full thickness
java.io.IOException
__DNA__FIELD__draw_angle
public void setDraw_angle(float draw_angle) throws java.io.IOException
angle when the brush has full thickness
java.io.IOException
__DNA__FIELD__draw_angle
public float getDraw_angle_factor() throws java.io.IOException
factor to apply when angle change (only 90 degrees)
java.io.IOException
__DNA__FIELD__draw_angle_factor
public void setDraw_angle_factor(float draw_angle_factor) throws java.io.IOException
factor to apply when angle change (only 90 degrees)
java.io.IOException
__DNA__FIELD__draw_angle_factor
public float getDraw_random_press() throws java.io.IOException
factor of randomness for sensitivity and strength
java.io.IOException
__DNA__FIELD__draw_random_press
public void setDraw_random_press(float draw_random_press) throws java.io.IOException
factor of randomness for sensitivity and strength
java.io.IOException
__DNA__FIELD__draw_random_press
public float getDraw_random_sub() throws java.io.IOException
factor of randomness for subdivision
java.io.IOException
__DNA__FIELD__draw_random_sub
public void setDraw_random_sub(float draw_random_sub) throws java.io.IOException
factor of randomness for subdivision
java.io.IOException
__DNA__FIELD__draw_random_sub
public CPointer<CurveMapping> getCur_sensitivity() throws java.io.IOException
java.io.IOException
__DNA__FIELD__cur_sensitivity
public void setCur_sensitivity(CPointer<CurveMapping> cur_sensitivity) throws java.io.IOException
java.io.IOException
__DNA__FIELD__cur_sensitivity
public CPointer<CurveMapping> getCur_strength() throws java.io.IOException
java.io.IOException
__DNA__FIELD__cur_strength
public void setCur_strength(CPointer<CurveMapping> cur_strength) throws java.io.IOException
java.io.IOException
__DNA__FIELD__cur_strength
public CPointer<CurveMapping> getCur_jitter() throws java.io.IOException
java.io.IOException
__DNA__FIELD__cur_jitter
public void setCur_jitter(CPointer<CurveMapping> cur_jitter) throws java.io.IOException
java.io.IOException
__DNA__FIELD__cur_jitter