Package org.blender.dna
Class PaintCurve
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.PaintCurve
-
public class PaintCurve extends CFacade
Generated facet for DNA struct type 'PaintCurve'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__add_index
Field descriptor (offset) for struct member 'add_index'.static long[]
__DNA__FIELD__id
Field descriptor (offset) for struct member 'id'.static long[]
__DNA__FIELD__points
Field descriptor (offset) for struct member 'points'.static long[]
__DNA__FIELD__tot_points
Field descriptor (offset) for struct member 'tot_points'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct PaintCurve.-
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 PaintCurve(long __address, Block __block, BlockTable __blockTable)
protected
PaintCurve(PaintCurve that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<PaintCurve>
__io__addressof()
Instantiates a pointer on this instance.int
getAdd_index()
Get method for struct member 'add_index'.ID
getId()
Get method for struct member 'id'.CPointer<PaintCurvePoint>
getPoints()
Get method for struct member 'points'.int
getTot_points()
Get method for struct member 'tot_points'.void
setAdd_index(int add_index)
Set method for struct member 'add_index'.void
setId(ID id)
Set method for struct member 'id'.void
setPoints(CPointer<PaintCurvePoint> points)
Set method for struct member 'points'.void
setTot_points(int tot_points)
Set method for struct member 'tot_points'.-
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 PaintCurve.It is required when allocating a new block to store data for PaintCurve.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__id
public static final long[] __DNA__FIELD__id
Field descriptor (offset) for struct member 'id'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
PaintCurve paintcurve = ...; CPointer<Object> p = paintcurve.__dna__addressof(PaintCurve.__DNA__FIELD__id); CPointer<ID> p_id = p.cast(new Class[]{ID.class});
Metadata
- Field: 'id'
- Signature: 'ID'
- Actual Size (32bit/64bit): 152/192
-
__DNA__FIELD__points
public static final long[] __DNA__FIELD__points
Field descriptor (offset) for struct member 'points'.Field Documentation
Blender Source Code
Points of curve.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
PaintCurve paintcurve = ...; CPointer<Object> p = paintcurve.__dna__addressof(PaintCurve.__DNA__FIELD__points); CPointer<CPointer<PaintCurvePoint>> p_points = p.cast(new Class[]{CPointer.class, PaintCurvePoint.class});
Metadata
- Field: 'points'
- Signature: 'PaintCurvePoint*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__tot_points
public static final long[] __DNA__FIELD__tot_points
Field descriptor (offset) for struct member 'tot_points'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
PaintCurve paintcurve = ...; CPointer<Object> p = paintcurve.__dna__addressof(PaintCurve.__DNA__FIELD__tot_points); CPointer<Integer> p_tot_points = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'tot_points'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__add_index
public static final long[] __DNA__FIELD__add_index
Field descriptor (offset) for struct member 'add_index'.Field Documentation
Blender Source Code
Index where next point will be added.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
PaintCurve paintcurve = ...; CPointer<Object> p = paintcurve.__dna__addressof(PaintCurve.__DNA__FIELD__add_index); CPointer<Integer> p_add_index = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'add_index'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
PaintCurve
public PaintCurve(long __address, Block __block, BlockTable __blockTable)
-
PaintCurve
protected PaintCurve(PaintCurve that)
-
-
Method Detail
-
getId
public ID getId() throws java.io.IOException
Get method for struct member 'id'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__id
-
setId
public void setId(ID id) throws java.io.IOException
Set method for struct member 'id'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__id
-
getPoints
public CPointer<PaintCurvePoint> getPoints() throws java.io.IOException
Get method for struct member 'points'.Field Documentation
Blender Source Code
Points of curve.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__points
-
setPoints
public void setPoints(CPointer<PaintCurvePoint> points) throws java.io.IOException
Set method for struct member 'points'.Field Documentation
Blender Source Code
Points of curve.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__points
-
getTot_points
public int getTot_points() throws java.io.IOException
Get method for struct member 'tot_points'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__tot_points
-
setTot_points
public void setTot_points(int tot_points) throws java.io.IOException
Set method for struct member 'tot_points'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__tot_points
-
getAdd_index
public int getAdd_index() throws java.io.IOException
Get method for struct member 'add_index'.Field Documentation
Blender Source Code
Index where next point will be added.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__add_index
-
setAdd_index
public void setAdd_index(int add_index) throws java.io.IOException
Set method for struct member 'add_index'.Field Documentation
Blender Source Code
Index where next point will be added.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__add_index
-
__io__addressof
public CPointer<PaintCurve> __io__addressof()
Instantiates a pointer on this instance.
-
-