Package org.blender.dna
Class HairCurve
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.HairCurve
-
public class HairCurve extends CFacade
Generated facet for DNA struct type 'HairCurve'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__firstpoint
Field descriptor (offset) for struct member 'firstpoint'.static long[]
__DNA__FIELD__numpoints
Field descriptor (offset) for struct member 'numpoints'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct HairCurve.-
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 HairCurve(long __address, Block __block, BlockTable __blockTable)
protected
HairCurve(HairCurve that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<HairCurve>
__io__addressof()
Instantiates a pointer on this instance.int
getFirstpoint()
Get method for struct member 'firstpoint'.int
getNumpoints()
Get method for struct member 'numpoints'.void
setFirstpoint(int firstpoint)
Set method for struct member 'firstpoint'.void
setNumpoints(int numpoints)
Set method for struct member 'numpoints'.-
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 HairCurve.It is required when allocating a new block to store data for HairCurve.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__firstpoint
public static final long[] __DNA__FIELD__firstpoint
Field descriptor (offset) for struct member 'firstpoint'.Field Documentation
Blender Source Code
Index of first point of hair curve.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
HairCurve haircurve = ...; CPointer<Object> p = haircurve.__dna__addressof(HairCurve.__DNA__FIELD__firstpoint); CPointer<Integer> p_firstpoint = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'firstpoint'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__numpoints
public static final long[] __DNA__FIELD__numpoints
Field descriptor (offset) for struct member 'numpoints'.Field Documentation
Blender Source Code
Number of points in hair curve, must be 2 or higher.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
HairCurve haircurve = ...; CPointer<Object> p = haircurve.__dna__addressof(HairCurve.__DNA__FIELD__numpoints); CPointer<Integer> p_numpoints = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'numpoints'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
HairCurve
public HairCurve(long __address, Block __block, BlockTable __blockTable)
-
HairCurve
protected HairCurve(HairCurve that)
-
-
Method Detail
-
getFirstpoint
public int getFirstpoint() throws java.io.IOException
Get method for struct member 'firstpoint'.Field Documentation
Blender Source Code
Index of first point of hair curve.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__firstpoint
-
setFirstpoint
public void setFirstpoint(int firstpoint) throws java.io.IOException
Set method for struct member 'firstpoint'.Field Documentation
Blender Source Code
Index of first point of hair curve.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__firstpoint
-
getNumpoints
public int getNumpoints() throws java.io.IOException
Get method for struct member 'numpoints'.Field Documentation
Blender Source Code
Number of points in hair curve, must be 2 or higher.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__numpoints
-
setNumpoints
public void setNumpoints(int numpoints) throws java.io.IOException
Set method for struct member 'numpoints'.Field Documentation
Blender Source Code
Number of points in hair curve, must be 2 or higher.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__numpoints
-
-