public class bGPDstroke extends CFacade
Grease-Pencil Annotations - 'Stroke' -> A stroke represents a (simplified version) of the curve drawn by the user in one 'mouse-down'->'mouse-up' operation
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.
|
static long[] |
__DNA__FIELD___pad_3
Field descriptor (offset) for struct member '_pad_3'.
|
static long[] |
__DNA__FIELD___pad3
Field descriptor (offset) for struct member '_pad3'.
|
static long[] |
__DNA__FIELD__caps
Field descriptor (offset) for struct member 'caps'.
|
static long[] |
__DNA__FIELD__colorname
Deprecated.
Deprecated
Pointer ArithmeticsThis is how you get a reference on the corresponding field in the struct: bGPDstroke bgpdstroke = ...; CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__colorname); CPointer<CArrayFacade<Byte>> p_colorname = p.cast(new Class[]{CArrayFacade.class, Byte.class}); Metadata
|
static long[] |
__DNA__FIELD__dvert
Field descriptor (offset) for struct member 'dvert'.
|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__gradient_f
Field descriptor (offset) for struct member 'gradient_f'.
|
static long[] |
__DNA__FIELD__gradient_s
Field descriptor (offset) for struct member 'gradient_s'.
|
static long[] |
__DNA__FIELD__inittime
Field descriptor (offset) for struct member 'inittime'.
|
static long[] |
__DNA__FIELD__mat_nr
Field descriptor (offset) for struct member 'mat_nr'.
|
static long[] |
__DNA__FIELD__next
Field descriptor (offset) for struct member 'next'.
|
static long[] |
__DNA__FIELD__points
Field descriptor (offset) for struct member 'points'.
|
static long[] |
__DNA__FIELD__prev
Field descriptor (offset) for struct member 'prev'.
|
static long[] |
__DNA__FIELD__runtime
Field descriptor (offset) for struct member 'runtime'.
|
static long[] |
__DNA__FIELD__thickness
Field descriptor (offset) for struct member 'thickness'.
|
static long[] |
__DNA__FIELD__tot_triangles
Field descriptor (offset) for struct member 'tot_triangles'.
|
static long[] |
__DNA__FIELD__totpoints
Field descriptor (offset) for struct member 'totpoints'.
|
static long[] |
__DNA__FIELD__triangles
Field descriptor (offset) for struct member 'triangles'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct bGPDstroke.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
bGPDstroke(bGPDstroke that) |
|
bGPDstroke(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<bGPDstroke> |
__io__addressof()
Instantiates a pointer on this instance.
|
CArrayFacade<java.lang.Byte> |
get_pad_3()
Get method for struct member '_pad_3'.
|
CArrayFacade<java.lang.Short> |
get_pad()
Get method for struct member '_pad'.
|
CPointer<java.lang.Object> |
get_pad3()
Get method for struct member '_pad3'.
|
CArrayFacade<java.lang.Short> |
getCaps()
Get method for struct member 'caps'.
|
CArrayFacade<java.lang.Byte> |
getColorname()
Deprecated.
Deprecated
|
CPointer<MDeformVert> |
getDvert()
Get method for struct member 'dvert'.
|
short |
getFlag()
Get method for struct member 'flag'.
|
float |
getGradient_f()
Get method for struct member 'gradient_f'.
|
CArrayFacade<java.lang.Float> |
getGradient_s()
Get method for struct member 'gradient_s'.
|
double |
getInittime()
Get method for struct member 'inittime'.
|
int |
getMat_nr()
Get method for struct member 'mat_nr'.
|
CPointer<bGPDstroke> |
getNext()
Get method for struct member 'next'.
|
CPointer<bGPDspoint> |
getPoints()
Get method for struct member 'points'.
|
CPointer<bGPDstroke> |
getPrev()
Get method for struct member 'prev'.
|
bGPDstroke_Runtime |
getRuntime()
Get method for struct member 'runtime'.
|
short |
getThickness()
Get method for struct member 'thickness'.
|
int |
getTot_triangles()
Get method for struct member 'tot_triangles'.
|
int |
getTotpoints()
Get method for struct member 'totpoints'.
|
CPointer<bGPDtriangle> |
getTriangles()
Get method for struct member 'triangles'.
|
void |
set_pad_3(CArrayFacade<java.lang.Byte> _pad_3)
Set method for struct member '_pad_3'.
|
void |
set_pad(CArrayFacade<java.lang.Short> _pad)
Set method for struct member '_pad'.
|
void |
set_pad3(CPointer<java.lang.Object> _pad3)
Set method for struct member '_pad3'.
|
void |
setCaps(CArrayFacade<java.lang.Short> caps)
Set method for struct member 'caps'.
|
void |
setColorname(CArrayFacade<java.lang.Byte> colorname)
Deprecated.
Deprecated
|
void |
setDvert(CPointer<MDeformVert> dvert)
Set method for struct member 'dvert'.
|
void |
setFlag(short flag)
Set method for struct member 'flag'.
|
void |
setGradient_f(float gradient_f)
Set method for struct member 'gradient_f'.
|
void |
setGradient_s(CArrayFacade<java.lang.Float> gradient_s)
Set method for struct member 'gradient_s'.
|
void |
setInittime(double inittime)
Set method for struct member 'inittime'.
|
void |
setMat_nr(int mat_nr)
Set method for struct member 'mat_nr'.
|
void |
setNext(CPointer<bGPDstroke> next)
Set method for struct member 'next'.
|
void |
setPoints(CPointer<bGPDspoint> points)
Set method for struct member 'points'.
|
void |
setPrev(CPointer<bGPDstroke> prev)
Set method for struct member 'prev'.
|
void |
setRuntime(bGPDstroke_Runtime runtime)
Set method for struct member 'runtime'.
|
void |
setThickness(short thickness)
Set method for struct member 'thickness'.
|
void |
setTot_triangles(int tot_triangles)
Set method for struct member 'tot_triangles'.
|
void |
setTotpoints(int totpoints)
Set method for struct member 'totpoints'.
|
void |
setTriangles(CPointer<bGPDtriangle> triangles)
Set method for struct member 'triangles'.
|
__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 bGPDstroke.
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:
bGPDstroke bgpdstroke = ...; CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__next); CPointer<CPointer<bGPDstroke>> p_next = p.cast(new Class[]{CPointer.class, bGPDstroke.class});
public static final long[] __DNA__FIELD__prev
This is how you get a reference on the corresponding field in the struct:
bGPDstroke bgpdstroke = ...; CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__prev); CPointer<CPointer<bGPDstroke>> p_prev = p.cast(new Class[]{CPointer.class, bGPDstroke.class});
public static final long[] __DNA__FIELD__points
Array of data-points for stroke.
This is how you get a reference on the corresponding field in the struct:
bGPDstroke bgpdstroke = ...; CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__points); CPointer<CPointer<bGPDspoint>> p_points = p.cast(new Class[]{CPointer.class, bGPDspoint.class});
public static final long[] __DNA__FIELD__triangles
Tessellated triangles for GP Fill.
This is how you get a reference on the corresponding field in the struct:
bGPDstroke bgpdstroke = ...; CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__triangles); CPointer<CPointer<bGPDtriangle>> p_triangles = p.cast(new Class[]{CPointer.class, bGPDtriangle.class});
public static final long[] __DNA__FIELD__totpoints
Number of data-points in array.
This is how you get a reference on the corresponding field in the struct:
bGPDstroke bgpdstroke = ...; CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__totpoints); CPointer<Integer> p_totpoints = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__tot_triangles
Number of triangles in array.
This is how you get a reference on the corresponding field in the struct:
bGPDstroke bgpdstroke = ...; CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__tot_triangles); CPointer<Integer> p_tot_triangles = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__thickness
Thickness of stroke.
This is how you get a reference on the corresponding field in the struct:
bGPDstroke bgpdstroke = ...; CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__thickness); CPointer<Short> p_thickness = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__flag
Various settings about this stroke.
This is how you get a reference on the corresponding field in the struct:
bGPDstroke bgpdstroke = ...; CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__flag); CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD___pad
This is how you get a reference on the corresponding field in the struct:
bGPDstroke bgpdstroke = ...; CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD___pad); CPointer<CArrayFacade<Short>> p__pad = p.cast(new Class[]{CArrayFacade.class, Short.class});
public static final long[] __DNA__FIELD__inittime
Init time of stroke.
This is how you get a reference on the corresponding field in the struct:
bGPDstroke bgpdstroke = ...; CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__inittime); CPointer<Double> p_inittime = p.cast(new Class[]{Double.class});
public static final long[] __DNA__FIELD__colorname
This is how you get a reference on the corresponding field in the struct:
bGPDstroke bgpdstroke = ...; CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__colorname); CPointer<CArrayFacade<Byte>> p_colorname = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Color name.
public static final long[] __DNA__FIELD__mat_nr
Material
index.
This is how you get a reference on the corresponding field in the struct:
bGPDstroke bgpdstroke = ...; CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__mat_nr); CPointer<Integer> p_mat_nr = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__caps
Caps mode for each stroke extreme
This is how you get a reference on the corresponding field in the struct:
bGPDstroke bgpdstroke = ...; CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__caps); CPointer<CArrayFacade<Short>> p_caps = p.cast(new Class[]{CArrayFacade.class, Short.class});
public static final long[] __DNA__FIELD__gradient_f
gradient control along y for color
This is how you get a reference on the corresponding field in the struct:
bGPDstroke bgpdstroke = ...; CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__gradient_f); CPointer<Float> p_gradient_f = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__gradient_s
factor xy of shape for dots gradients
This is how you get a reference on the corresponding field in the struct:
bGPDstroke bgpdstroke = ...; CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__gradient_s); CPointer<CArrayFacade<Float>> p_gradient_s = p.cast(new Class[]{CArrayFacade.class, Float.class});
public static final long[] __DNA__FIELD___pad_3
This is how you get a reference on the corresponding field in the struct:
bGPDstroke bgpdstroke = ...; CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD___pad_3); CPointer<CArrayFacade<Byte>> p__pad_3 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__dvert
Vertex weight data.
This is how you get a reference on the corresponding field in the struct:
bGPDstroke bgpdstroke = ...; CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__dvert); CPointer<CPointer<MDeformVert>> p_dvert = p.cast(new Class[]{CPointer.class, MDeformVert.class});
public static final long[] __DNA__FIELD___pad3
This is how you get a reference on the corresponding field in the struct:
bGPDstroke bgpdstroke = ...; CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD___pad3); CPointer<CPointer<Object>> p__pad3 = p.cast(new Class[]{CPointer.class, Object.class});
public static final long[] __DNA__FIELD__runtime
This is how you get a reference on the corresponding field in the struct:
bGPDstroke bgpdstroke = ...; CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__runtime); CPointer<bGPDstroke_Runtime> p_runtime = p.cast(new Class[]{bGPDstroke_Runtime.class});
public bGPDstroke(long __address, Block __block, BlockTable __blockTable)
protected bGPDstroke(bGPDstroke that)
public CPointer<bGPDstroke> getNext() throws java.io.IOException
java.io.IOException
__DNA__FIELD__next
public void setNext(CPointer<bGPDstroke> next) throws java.io.IOException
java.io.IOException
__DNA__FIELD__next
public CPointer<bGPDstroke> getPrev() throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev
public void setPrev(CPointer<bGPDstroke> prev) throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev
public CPointer<bGPDspoint> getPoints() throws java.io.IOException
Array of data-points for stroke.
java.io.IOException
__DNA__FIELD__points
public void setPoints(CPointer<bGPDspoint> points) throws java.io.IOException
Array of data-points for stroke.
java.io.IOException
__DNA__FIELD__points
public CPointer<bGPDtriangle> getTriangles() throws java.io.IOException
Tessellated triangles for GP Fill.
java.io.IOException
__DNA__FIELD__triangles
public void setTriangles(CPointer<bGPDtriangle> triangles) throws java.io.IOException
Tessellated triangles for GP Fill.
java.io.IOException
__DNA__FIELD__triangles
public int getTotpoints() throws java.io.IOException
Number of data-points in array.
java.io.IOException
__DNA__FIELD__totpoints
public void setTotpoints(int totpoints) throws java.io.IOException
Number of data-points in array.
java.io.IOException
__DNA__FIELD__totpoints
public int getTot_triangles() throws java.io.IOException
Number of triangles in array.
java.io.IOException
__DNA__FIELD__tot_triangles
public void setTot_triangles(int tot_triangles) throws java.io.IOException
Number of triangles in array.
java.io.IOException
__DNA__FIELD__tot_triangles
public short getThickness() throws java.io.IOException
Thickness of stroke.
java.io.IOException
__DNA__FIELD__thickness
public void setThickness(short thickness) throws java.io.IOException
Thickness of stroke.
java.io.IOException
__DNA__FIELD__thickness
public short getFlag() throws java.io.IOException
Various settings about this stroke.
java.io.IOException
__DNA__FIELD__flag
public void setFlag(short flag) throws java.io.IOException
Various settings about this stroke.
java.io.IOException
__DNA__FIELD__flag
public CArrayFacade<java.lang.Short> get_pad() throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad
public void set_pad(CArrayFacade<java.lang.Short> _pad) throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad
public double getInittime() throws java.io.IOException
Init time of stroke.
java.io.IOException
__DNA__FIELD__inittime
public void setInittime(double inittime) throws java.io.IOException
Init time of stroke.
java.io.IOException
__DNA__FIELD__inittime
public CArrayFacade<java.lang.Byte> getColorname() throws java.io.IOException
Color name.
java.io.IOException
__DNA__FIELD__colorname
public void setColorname(CArrayFacade<java.lang.Byte> colorname) throws java.io.IOException
Color name.
java.io.IOException
__DNA__FIELD__colorname
public int getMat_nr() throws java.io.IOException
java.io.IOException
__DNA__FIELD__mat_nr
public void setMat_nr(int mat_nr) throws java.io.IOException
java.io.IOException
__DNA__FIELD__mat_nr
public CArrayFacade<java.lang.Short> getCaps() throws java.io.IOException
Caps mode for each stroke extreme
java.io.IOException
__DNA__FIELD__caps
public void setCaps(CArrayFacade<java.lang.Short> caps) throws java.io.IOException
Caps mode for each stroke extreme
java.io.IOException
__DNA__FIELD__caps
public float getGradient_f() throws java.io.IOException
gradient control along y for color
java.io.IOException
__DNA__FIELD__gradient_f
public void setGradient_f(float gradient_f) throws java.io.IOException
gradient control along y for color
java.io.IOException
__DNA__FIELD__gradient_f
public CArrayFacade<java.lang.Float> getGradient_s() throws java.io.IOException
factor xy of shape for dots gradients
java.io.IOException
__DNA__FIELD__gradient_s
public void setGradient_s(CArrayFacade<java.lang.Float> gradient_s) throws java.io.IOException
factor xy of shape for dots gradients
java.io.IOException
__DNA__FIELD__gradient_s
public CArrayFacade<java.lang.Byte> get_pad_3() throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad_3
public void set_pad_3(CArrayFacade<java.lang.Byte> _pad_3) throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad_3
public CPointer<MDeformVert> getDvert() throws java.io.IOException
Vertex weight data.
java.io.IOException
__DNA__FIELD__dvert
public void setDvert(CPointer<MDeformVert> dvert) throws java.io.IOException
Vertex weight data.
java.io.IOException
__DNA__FIELD__dvert
public CPointer<java.lang.Object> get_pad3() throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad3
public void set_pad3(CPointer<java.lang.Object> _pad3) throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad3
public bGPDstroke_Runtime getRuntime() throws java.io.IOException
java.io.IOException
__DNA__FIELD__runtime
public void setRuntime(bGPDstroke_Runtime runtime) throws java.io.IOException
java.io.IOException
__DNA__FIELD__runtime
public CPointer<bGPDstroke> __io__addressof()