public class bGPDspoint extends CFacade
Grease-Pencil Annotations - 'Stroke Point' -> Coordinates may either be 2d or 3d depending on settings at the time -> Coordinates of point on stroke, in proportions of window size This assumes that the bottom-left corner is (0,0)
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD___pad2
Field descriptor (offset) for struct member '_pad2'.
|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__pressure
Field descriptor (offset) for struct member 'pressure'.
|
static long[] |
__DNA__FIELD__runtime
Field descriptor (offset) for struct member 'runtime'.
|
static long[] |
__DNA__FIELD__strength
Field descriptor (offset) for struct member 'strength'.
|
static long[] |
__DNA__FIELD__time
Field descriptor (offset) for struct member 'time'.
|
static long[] |
__DNA__FIELD__uv_fac
Field descriptor (offset) for struct member 'uv_fac'.
|
static long[] |
__DNA__FIELD__uv_fill
Field descriptor (offset) for struct member 'uv_fill'.
|
static long[] |
__DNA__FIELD__uv_rot
Field descriptor (offset) for struct member 'uv_rot'.
|
static long[] |
__DNA__FIELD__vert_color
Field descriptor (offset) for struct member 'vert_color'.
|
static long[] |
__DNA__FIELD__x
Field descriptor (offset) for struct member 'x'.
|
static long[] |
__DNA__FIELD__y
Field descriptor (offset) for struct member 'y'.
|
static long[] |
__DNA__FIELD__z
Field descriptor (offset) for struct member 'z'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct bGPDspoint.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
bGPDspoint(bGPDspoint that) |
|
bGPDspoint(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<bGPDspoint> |
__io__addressof()
Instantiates a pointer on this instance.
|
CArrayFacade<java.lang.Byte> |
get_pad2()
Get method for struct member '_pad2'.
|
int |
getFlag()
Get method for struct member 'flag'.
|
float |
getPressure()
Get method for struct member 'pressure'.
|
bGPDspoint_Runtime |
getRuntime()
Get method for struct member 'runtime'.
|
float |
getStrength()
Get method for struct member 'strength'.
|
float |
getTime()
Get method for struct member 'time'.
|
float |
getUv_fac()
Get method for struct member 'uv_fac'.
|
CArrayFacade<java.lang.Float> |
getUv_fill()
Get method for struct member 'uv_fill'.
|
float |
getUv_rot()
Get method for struct member 'uv_rot'.
|
CArrayFacade<java.lang.Float> |
getVert_color()
Get method for struct member 'vert_color'.
|
float |
getX()
Get method for struct member 'x'.
|
float |
getY()
Get method for struct member 'y'.
|
float |
getZ()
Get method for struct member 'z'.
|
void |
set_pad2(CArrayFacade<java.lang.Byte> _pad2)
Set method for struct member '_pad2'.
|
void |
setFlag(int flag)
Set method for struct member 'flag'.
|
void |
setPressure(float pressure)
Set method for struct member 'pressure'.
|
void |
setRuntime(bGPDspoint_Runtime runtime)
Set method for struct member 'runtime'.
|
void |
setStrength(float strength)
Set method for struct member 'strength'.
|
void |
setTime(float time)
Set method for struct member 'time'.
|
void |
setUv_fac(float uv_fac)
Set method for struct member 'uv_fac'.
|
void |
setUv_fill(CArrayFacade<java.lang.Float> uv_fill)
Set method for struct member 'uv_fill'.
|
void |
setUv_rot(float uv_rot)
Set method for struct member 'uv_rot'.
|
void |
setVert_color(CArrayFacade<java.lang.Float> vert_color)
Set method for struct member 'vert_color'.
|
void |
setX(float x)
Set method for struct member 'x'.
|
void |
setY(float y)
Set method for struct member 'y'.
|
void |
setZ(float z)
Set method for struct member 'z'.
|
__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 bGPDspoint.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__x
Co-ordinates of point (usually 2d, but can be 3d as well).
This is how you get a reference on the corresponding field in the struct:
bGPDspoint bgpdspoint = ...; CPointer<Object> p = bgpdspoint.__dna__addressof(bGPDspoint.__DNA__FIELD__x); CPointer<Float> p_x = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__y
This is how you get a reference on the corresponding field in the struct:
bGPDspoint bgpdspoint = ...; CPointer<Object> p = bgpdspoint.__dna__addressof(bGPDspoint.__DNA__FIELD__y); CPointer<Float> p_y = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__z
This is how you get a reference on the corresponding field in the struct:
bGPDspoint bgpdspoint = ...; CPointer<Object> p = bgpdspoint.__dna__addressof(bGPDspoint.__DNA__FIELD__z); CPointer<Float> p_z = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__pressure
Pressure of input device (from 0 to 1) at this point.
This is how you get a reference on the corresponding field in the struct:
bGPDspoint bgpdspoint = ...; CPointer<Object> p = bgpdspoint.__dna__addressof(bGPDspoint.__DNA__FIELD__pressure); CPointer<Float> p_pressure = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__strength
Color strength (used for alpha factor).
This is how you get a reference on the corresponding field in the struct:
bGPDspoint bgpdspoint = ...; CPointer<Object> p = bgpdspoint.__dna__addressof(bGPDspoint.__DNA__FIELD__strength); CPointer<Float> p_strength = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__time
Seconds since start of stroke.
This is how you get a reference on the corresponding field in the struct:
bGPDspoint bgpdspoint = ...; CPointer<Object> p = bgpdspoint.__dna__addressof(bGPDspoint.__DNA__FIELD__time); CPointer<Float> p_time = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__flag
Additional options.
This is how you get a reference on the corresponding field in the struct:
bGPDspoint bgpdspoint = ...; CPointer<Object> p = bgpdspoint.__dna__addressof(bGPDspoint.__DNA__FIELD__flag); CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__uv_fac
Factor of uv along the stroke.
This is how you get a reference on the corresponding field in the struct:
bGPDspoint bgpdspoint = ...; CPointer<Object> p = bgpdspoint.__dna__addressof(bGPDspoint.__DNA__FIELD__uv_fac); CPointer<Float> p_uv_fac = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__uv_rot
Uv rotation for dot mode.
This is how you get a reference on the corresponding field in the struct:
bGPDspoint bgpdspoint = ...; CPointer<Object> p = bgpdspoint.__dna__addressof(bGPDspoint.__DNA__FIELD__uv_rot); CPointer<Float> p_uv_rot = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__uv_fill
Uv for fill mode
This is how you get a reference on the corresponding field in the struct:
bGPDspoint bgpdspoint = ...; CPointer<Object> p = bgpdspoint.__dna__addressof(bGPDspoint.__DNA__FIELD__uv_fill); CPointer<CArrayFacade<Float>> p_uv_fill = p.cast(new Class[]{CArrayFacade.class, Float.class});
public static final long[] __DNA__FIELD__vert_color
Vertex Color RGBA (A=mix factor).
This is how you get a reference on the corresponding field in the struct:
bGPDspoint bgpdspoint = ...; CPointer<Object> p = bgpdspoint.__dna__addressof(bGPDspoint.__DNA__FIELD__vert_color); CPointer<CArrayFacade<Float>> p_vert_color = p.cast(new Class[]{CArrayFacade.class, Float.class});
public static final long[] __DNA__FIELD___pad2
Runtime data
This is how you get a reference on the corresponding field in the struct:
bGPDspoint bgpdspoint = ...; CPointer<Object> p = bgpdspoint.__dna__addressof(bGPDspoint.__DNA__FIELD___pad2); CPointer<CArrayFacade<Byte>> p__pad2 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__runtime
This is how you get a reference on the corresponding field in the struct:
bGPDspoint bgpdspoint = ...; CPointer<Object> p = bgpdspoint.__dna__addressof(bGPDspoint.__DNA__FIELD__runtime); CPointer<bGPDspoint_Runtime> p_runtime = p.cast(new Class[]{bGPDspoint_Runtime.class});
public bGPDspoint(long __address, Block __block, BlockTable __blockTable)
protected bGPDspoint(bGPDspoint that)
public float getX() throws java.io.IOException
Co-ordinates of point (usually 2d, but can be 3d as well).
java.io.IOException
__DNA__FIELD__x
public void setX(float x) throws java.io.IOException
Co-ordinates of point (usually 2d, but can be 3d as well).
java.io.IOException
__DNA__FIELD__x
public float getY() throws java.io.IOException
java.io.IOException
__DNA__FIELD__y
public void setY(float y) throws java.io.IOException
java.io.IOException
__DNA__FIELD__y
public float getZ() throws java.io.IOException
java.io.IOException
__DNA__FIELD__z
public void setZ(float z) throws java.io.IOException
java.io.IOException
__DNA__FIELD__z
public float getPressure() throws java.io.IOException
Pressure of input device (from 0 to 1) at this point.
java.io.IOException
__DNA__FIELD__pressure
public void setPressure(float pressure) throws java.io.IOException
Pressure of input device (from 0 to 1) at this point.
java.io.IOException
__DNA__FIELD__pressure
public float getStrength() throws java.io.IOException
Color strength (used for alpha factor).
java.io.IOException
__DNA__FIELD__strength
public void setStrength(float strength) throws java.io.IOException
Color strength (used for alpha factor).
java.io.IOException
__DNA__FIELD__strength
public float getTime() throws java.io.IOException
Seconds since start of stroke.
java.io.IOException
__DNA__FIELD__time
public void setTime(float time) throws java.io.IOException
Seconds since start of stroke.
java.io.IOException
__DNA__FIELD__time
public int getFlag() throws java.io.IOException
Additional options.
java.io.IOException
__DNA__FIELD__flag
public void setFlag(int flag) throws java.io.IOException
Additional options.
java.io.IOException
__DNA__FIELD__flag
public float getUv_fac() throws java.io.IOException
Factor of uv along the stroke.
java.io.IOException
__DNA__FIELD__uv_fac
public void setUv_fac(float uv_fac) throws java.io.IOException
Factor of uv along the stroke.
java.io.IOException
__DNA__FIELD__uv_fac
public float getUv_rot() throws java.io.IOException
Uv rotation for dot mode.
java.io.IOException
__DNA__FIELD__uv_rot
public void setUv_rot(float uv_rot) throws java.io.IOException
Uv rotation for dot mode.
java.io.IOException
__DNA__FIELD__uv_rot
public CArrayFacade<java.lang.Float> getUv_fill() throws java.io.IOException
Uv for fill mode
java.io.IOException
__DNA__FIELD__uv_fill
public void setUv_fill(CArrayFacade<java.lang.Float> uv_fill) throws java.io.IOException
Uv for fill mode
java.io.IOException
__DNA__FIELD__uv_fill
public CArrayFacade<java.lang.Float> getVert_color() throws java.io.IOException
Vertex Color RGBA (A=mix factor).
java.io.IOException
__DNA__FIELD__vert_color
public void setVert_color(CArrayFacade<java.lang.Float> vert_color) throws java.io.IOException
Vertex Color RGBA (A=mix factor).
java.io.IOException
__DNA__FIELD__vert_color
public CArrayFacade<java.lang.Byte> get_pad2() throws java.io.IOException
Runtime data
java.io.IOException
__DNA__FIELD___pad2
public void set_pad2(CArrayFacade<java.lang.Byte> _pad2) throws java.io.IOException
Runtime data
java.io.IOException
__DNA__FIELD___pad2
public bGPDspoint_Runtime getRuntime() throws java.io.IOException
java.io.IOException
__DNA__FIELD__runtime
public void setRuntime(bGPDspoint_Runtime runtime) throws java.io.IOException
java.io.IOException
__DNA__FIELD__runtime
public CPointer<bGPDspoint> __io__addressof()