Class bGPDspoint
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.bGPDspoint
-
public class bGPDspoint extends CFacade
Generated facet for DNA struct type 'bGPDspoint'.Class Documentation
Blender Source Code
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)
-
-
Field Summary
Fields Modifier and Type Field 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.-
Fields inherited from class org.cakelab.blender.nio.CFacade
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
-
-
Constructor Summary
Constructors Modifier Constructor Description bGPDspoint(long __address, Block __block, BlockTable __blockTable)
protected
bGPDspoint(bGPDspoint that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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'.-
Methods inherited from class org.cakelab.blender.nio.CFacade
__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, equals, hashCode
-
-
-
-
Field Detail
-
__DNA__SDNA_INDEX
public static final int __DNA__SDNA_INDEX
This is the sdna index of the struct bGPDspoint.It is required when allocating a new block to store data for bGPDspoint.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__x
public static final long[] __DNA__FIELD__x
Field descriptor (offset) for struct member 'x'.Field Documentation
Blender Source Code
Co-ordinates of point (usually 2d, but can be 3d as well).
Pointer Arithmetics
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});
Metadata
- Field: 'x'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__y
public static final long[] __DNA__FIELD__y
Field descriptor (offset) for struct member 'y'.Pointer Arithmetics
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});
Metadata
- Field: 'y'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__z
public static final long[] __DNA__FIELD__z
Field descriptor (offset) for struct member 'z'.Pointer Arithmetics
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});
Metadata
- Field: 'z'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__pressure
public static final long[] __DNA__FIELD__pressure
Field descriptor (offset) for struct member 'pressure'.Field Documentation
Blender Source Code
Pressure of input device (from 0 to 1) at this point.
Pointer Arithmetics
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});
Metadata
- Field: 'pressure'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__strength
public static final long[] __DNA__FIELD__strength
Field descriptor (offset) for struct member 'strength'.Field Documentation
Blender Source Code
Color strength (used for alpha factor).
Pointer Arithmetics
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});
Metadata
- Field: 'strength'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__time
public static final long[] __DNA__FIELD__time
Field descriptor (offset) for struct member 'time'.Field Documentation
Blender Source Code
Seconds since start of stroke.
Pointer Arithmetics
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});
Metadata
- Field: 'time'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__flag
public static final long[] __DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.Field Documentation
Blender Source Code
Additional options.
Pointer Arithmetics
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});
Metadata
- Field: 'flag'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__uv_fac
public static final long[] __DNA__FIELD__uv_fac
Field descriptor (offset) for struct member 'uv_fac'.Field Documentation
Blender Source Code
Factor of uv along the stroke.
Pointer Arithmetics
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});
Metadata
- Field: 'uv_fac'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__uv_rot
public static final long[] __DNA__FIELD__uv_rot
Field descriptor (offset) for struct member 'uv_rot'.Field Documentation
Blender Source Code
Uv rotation for dot mode.
Pointer Arithmetics
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});
Metadata
- Field: 'uv_rot'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__uv_fill
public static final long[] __DNA__FIELD__uv_fill
Field descriptor (offset) for struct member 'uv_fill'.Field Documentation
Blender Source Code
Uv for fill mode
Pointer Arithmetics
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});
Metadata
- Field: 'uv_fill'
- Signature: 'float[2]'
- Actual Size (32bit/64bit): 8/8
-
__DNA__FIELD__vert_color
public static final long[] __DNA__FIELD__vert_color
Field descriptor (offset) for struct member 'vert_color'.Field Documentation
Blender Source Code
Vertex Color RGBA (A=mix factor).
Pointer Arithmetics
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});
Metadata
- Field: 'vert_color'
- Signature: 'float[4]'
- Actual Size (32bit/64bit): 16/16
-
__DNA__FIELD___pad2
public static final long[] __DNA__FIELD___pad2
Field descriptor (offset) for struct member '_pad2'.Field Documentation
Blender Source Code
Runtime data
Pointer Arithmetics
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});
Metadata
- Field: '_pad2'
- Signature: 'char[4]'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__runtime
public static final long[] __DNA__FIELD__runtime
Field descriptor (offset) for struct member 'runtime'.Pointer Arithmetics
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});
Metadata
- Field: 'runtime'
- Signature: 'bGPDspoint_Runtime'
- Actual Size (32bit/64bit): 12/16
-
-
Constructor Detail
-
bGPDspoint
public bGPDspoint(long __address, Block __block, BlockTable __blockTable)
-
bGPDspoint
protected bGPDspoint(bGPDspoint that)
-
-
Method Detail
-
getX
public float getX() throws java.io.IOException
Get method for struct member 'x'.Field Documentation
Blender Source Code
Co-ordinates of point (usually 2d, but can be 3d as well).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__x
-
setX
public void setX(float x) throws java.io.IOException
Set method for struct member 'x'.Field Documentation
Blender Source Code
Co-ordinates of point (usually 2d, but can be 3d as well).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__x
-
getY
public float getY() throws java.io.IOException
Get method for struct member 'y'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__y
-
setY
public void setY(float y) throws java.io.IOException
Set method for struct member 'y'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__y
-
getZ
public float getZ() throws java.io.IOException
Get method for struct member 'z'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__z
-
setZ
public void setZ(float z) throws java.io.IOException
Set method for struct member 'z'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__z
-
getPressure
public float getPressure() throws java.io.IOException
Get method for struct member 'pressure'.Field Documentation
Blender Source Code
Pressure of input device (from 0 to 1) at this point.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__pressure
-
setPressure
public void setPressure(float pressure) throws java.io.IOException
Set method for struct member 'pressure'.Field Documentation
Blender Source Code
Pressure of input device (from 0 to 1) at this point.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__pressure
-
getStrength
public float getStrength() throws java.io.IOException
Get method for struct member 'strength'.Field Documentation
Blender Source Code
Color strength (used for alpha factor).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__strength
-
setStrength
public void setStrength(float strength) throws java.io.IOException
Set method for struct member 'strength'.Field Documentation
Blender Source Code
Color strength (used for alpha factor).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__strength
-
getTime
public float getTime() throws java.io.IOException
Get method for struct member 'time'.Field Documentation
Blender Source Code
Seconds since start of stroke.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__time
-
setTime
public void setTime(float time) throws java.io.IOException
Set method for struct member 'time'.Field Documentation
Blender Source Code
Seconds since start of stroke.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__time
-
getFlag
public int getFlag() throws java.io.IOException
Get method for struct member 'flag'.Field Documentation
Blender Source Code
Additional options.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
setFlag
public void setFlag(int flag) throws java.io.IOException
Set method for struct member 'flag'.Field Documentation
Blender Source Code
Additional options.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
getUv_fac
public float getUv_fac() throws java.io.IOException
Get method for struct member 'uv_fac'.Field Documentation
Blender Source Code
Factor of uv along the stroke.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__uv_fac
-
setUv_fac
public void setUv_fac(float uv_fac) throws java.io.IOException
Set method for struct member 'uv_fac'.Field Documentation
Blender Source Code
Factor of uv along the stroke.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__uv_fac
-
getUv_rot
public float getUv_rot() throws java.io.IOException
Get method for struct member 'uv_rot'.Field Documentation
Blender Source Code
Uv rotation for dot mode.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__uv_rot
-
setUv_rot
public void setUv_rot(float uv_rot) throws java.io.IOException
Set method for struct member 'uv_rot'.Field Documentation
Blender Source Code
Uv rotation for dot mode.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__uv_rot
-
getUv_fill
public CArrayFacade<java.lang.Float> getUv_fill() throws java.io.IOException
Get method for struct member 'uv_fill'.Field Documentation
Blender Source Code
Uv for fill mode
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__uv_fill
-
setUv_fill
public void setUv_fill(CArrayFacade<java.lang.Float> uv_fill) throws java.io.IOException
Set method for struct member 'uv_fill'.Field Documentation
Blender Source Code
Uv for fill mode
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__uv_fill
-
getVert_color
public CArrayFacade<java.lang.Float> getVert_color() throws java.io.IOException
Get method for struct member 'vert_color'.Field Documentation
Blender Source Code
Vertex Color RGBA (A=mix factor).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__vert_color
-
setVert_color
public void setVert_color(CArrayFacade<java.lang.Float> vert_color) throws java.io.IOException
Set method for struct member 'vert_color'.Field Documentation
Blender Source Code
Vertex Color RGBA (A=mix factor).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__vert_color
-
get_pad2
public CArrayFacade<java.lang.Byte> get_pad2() throws java.io.IOException
Get method for struct member '_pad2'.Field Documentation
Blender Source Code
Runtime data
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad2
-
set_pad2
public void set_pad2(CArrayFacade<java.lang.Byte> _pad2) throws java.io.IOException
Set method for struct member '_pad2'.Field Documentation
Blender Source Code
Runtime data
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad2
-
getRuntime
public bGPDspoint_Runtime getRuntime() throws java.io.IOException
Get method for struct member 'runtime'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__runtime
-
setRuntime
public void setRuntime(bGPDspoint_Runtime runtime) throws java.io.IOException
Set method for struct member 'runtime'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__runtime
-
__io__addressof
public CPointer<bGPDspoint> __io__addressof()
Instantiates a pointer on this instance.
-
-