Package org.blender.dna
Class PaintCurvePoint
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.PaintCurvePoint
-
public class PaintCurvePoint extends CFacade
Generated facet for DNA struct type 'PaintCurvePoint'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__bez
Field descriptor (offset) for struct member 'bez'.static long[]
__DNA__FIELD__pressure
Field descriptor (offset) for struct member 'pressure'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct PaintCurvePoint.-
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 PaintCurvePoint(long __address, Block __block, BlockTable __blockTable)
protected
PaintCurvePoint(PaintCurvePoint that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<PaintCurvePoint>
__io__addressof()
Instantiates a pointer on this instance.BezTriple
getBez()
Get method for struct member 'bez'.float
getPressure()
Get method for struct member 'pressure'.void
setBez(BezTriple bez)
Set method for struct member 'bez'.void
setPressure(float pressure)
Set method for struct member 'pressure'.-
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 PaintCurvePoint.It is required when allocating a new block to store data for PaintCurvePoint.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__bez
public static final long[] __DNA__FIELD__bez
Field descriptor (offset) for struct member 'bez'.Field Documentation
Blender Source Code
Bezier handle.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
PaintCurvePoint paintcurvepoint = ...; CPointer<Object> p = paintcurvepoint.__dna__addressof(PaintCurvePoint.__DNA__FIELD__bez); CPointer<BezTriple> p_bez = p.cast(new Class[]{BezTriple.class});
Metadata
- Field: 'bez'
- Signature: 'BezTriple'
- Actual Size (32bit/64bit): 72/72
-
__DNA__FIELD__pressure
public static final long[] __DNA__FIELD__pressure
Field descriptor (offset) for struct member 'pressure'.Field Documentation
Blender Source Code
Pressure on that point.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
PaintCurvePoint paintcurvepoint = ...; CPointer<Object> p = paintcurvepoint.__dna__addressof(PaintCurvePoint.__DNA__FIELD__pressure); CPointer<Float> p_pressure = p.cast(new Class[]{Float.class});
Metadata
- Field: 'pressure'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
PaintCurvePoint
public PaintCurvePoint(long __address, Block __block, BlockTable __blockTable)
-
PaintCurvePoint
protected PaintCurvePoint(PaintCurvePoint that)
-
-
Method Detail
-
getBez
public BezTriple getBez() throws java.io.IOException
Get method for struct member 'bez'.Field Documentation
Blender Source Code
Bezier handle.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__bez
-
setBez
public void setBez(BezTriple bez) throws java.io.IOException
Set method for struct member 'bez'.Field Documentation
Blender Source Code
Bezier handle.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__bez
-
getPressure
public float getPressure() throws java.io.IOException
Get method for struct member 'pressure'.Field Documentation
Blender Source Code
Pressure on that 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 on that point.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__pressure
-
__io__addressof
public CPointer<PaintCurvePoint> __io__addressof()
Instantiates a pointer on this instance.
-
-