public class HairCurve extends CFacade
Modifier and Type | Field and 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.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
HairCurve(HairCurve that) |
|
HairCurve(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and 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'.
|
__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 HairCurve.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__firstpoint
Index of first point of hair curve.
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});
public static final long[] __DNA__FIELD__numpoints
Number of points in hair curve, must be 2 or higher.
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});
public HairCurve(long __address, Block __block, BlockTable __blockTable)
protected HairCurve(HairCurve that)
public int getFirstpoint() throws java.io.IOException
Index of first point of hair curve.
java.io.IOException
__DNA__FIELD__firstpoint
public void setFirstpoint(int firstpoint) throws java.io.IOException
Index of first point of hair curve.
java.io.IOException
__DNA__FIELD__firstpoint
public int getNumpoints() throws java.io.IOException
Number of points in hair curve, must be 2 or higher.
java.io.IOException
__DNA__FIELD__numpoints
public void setNumpoints(int numpoints) throws java.io.IOException
Number of points in hair curve, must be 2 or higher.
java.io.IOException
__DNA__FIELD__numpoints