public class bGPDcontrolpoint extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__color
Field descriptor (offset) for struct member 'color'.
|
static long[] |
__DNA__FIELD__size
Field descriptor (offset) for struct member 'size'.
|
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 bGPDcontrolpoint.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
bGPDcontrolpoint(bGPDcontrolpoint that) |
|
bGPDcontrolpoint(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<bGPDcontrolpoint> |
__io__addressof()
Instantiates a pointer on this instance.
|
CArrayFacade<java.lang.Float> |
getColor()
Get method for struct member 'color'.
|
int |
getSize()
Get method for struct member 'size'.
|
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 |
setColor(CArrayFacade<java.lang.Float> color)
Set method for struct member 'color'.
|
void |
setSize(int size)
Set method for struct member 'size'.
|
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'.
|
__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 bGPDcontrolpoint.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__x
X and y coordinates of control point.
This is how you get a reference on the corresponding field in the struct:
bGPDcontrolpoint bgpdcontrolpoint = ...; CPointer<Object> p = bgpdcontrolpoint.__dna__addressof(bGPDcontrolpoint.__DNA__FIELD__x); CPointer<Float> p_x = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__y
This is how you get a reference on the corresponding field in the struct:
bGPDcontrolpoint bgpdcontrolpoint = ...; CPointer<Object> p = bgpdcontrolpoint.__dna__addressof(bGPDcontrolpoint.__DNA__FIELD__y); CPointer<Float> p_y = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__z
This is how you get a reference on the corresponding field in the struct:
bGPDcontrolpoint bgpdcontrolpoint = ...; CPointer<Object> p = bgpdcontrolpoint.__dna__addressof(bGPDcontrolpoint.__DNA__FIELD__z); CPointer<Float> p_z = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__color
Point color.
This is how you get a reference on the corresponding field in the struct:
bGPDcontrolpoint bgpdcontrolpoint = ...; CPointer<Object> p = bgpdcontrolpoint.__dna__addressof(bGPDcontrolpoint.__DNA__FIELD__color); CPointer<CArrayFacade<Float>> p_color = p.cast(new Class[]{CArrayFacade.class, Float.class});
public static final long[] __DNA__FIELD__size
Radius.
This is how you get a reference on the corresponding field in the struct:
bGPDcontrolpoint bgpdcontrolpoint = ...; CPointer<Object> p = bgpdcontrolpoint.__dna__addressof(bGPDcontrolpoint.__DNA__FIELD__size); CPointer<Integer> p_size = p.cast(new Class[]{Integer.class});
public bGPDcontrolpoint(long __address, Block __block, BlockTable __blockTable)
protected bGPDcontrolpoint(bGPDcontrolpoint that)
public float getX() throws java.io.IOException
X and y coordinates of control point.
java.io.IOException
__DNA__FIELD__x
public void setX(float x) throws java.io.IOException
X and y coordinates of control point.
java.io.IOException
__DNA__FIELD__x
public float getY() throws java.io.IOException
java.io.IOException
__DNA__FIELD__y
public void setY(float y) throws java.io.IOException
java.io.IOException
__DNA__FIELD__y
public float getZ() throws java.io.IOException
java.io.IOException
__DNA__FIELD__z
public void setZ(float z) throws java.io.IOException
java.io.IOException
__DNA__FIELD__z
public CArrayFacade<java.lang.Float> getColor() throws java.io.IOException
Point color.
java.io.IOException
__DNA__FIELD__color
public void setColor(CArrayFacade<java.lang.Float> color) throws java.io.IOException
Point color.
java.io.IOException
__DNA__FIELD__color
public int getSize() throws java.io.IOException
Radius.
java.io.IOException
__DNA__FIELD__size
public void setSize(int size) throws java.io.IOException
Radius.
java.io.IOException
__DNA__FIELD__size
public CPointer<bGPDcontrolpoint> __io__addressof()