Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__alfa
Field descriptor (offset) for struct member 'alfa'.
|
static long[] |
__DNA__FIELD__f1
Field descriptor (offset) for struct member 'f1'.
|
static long[] |
__DNA__FIELD__hide
Field descriptor (offset) for struct member 'hide'.
|
static long[] |
__DNA__FIELD__pad
Field descriptor (offset) for struct member 'pad'.
|
static long[] |
__DNA__FIELD__radius
Field descriptor (offset) for struct member 'radius'.
|
static long[] |
__DNA__FIELD__vec
Field descriptor (offset) for struct member 'vec'.
|
static long[] |
__DNA__FIELD__weight
Field descriptor (offset) for struct member 'weight'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct BPoint.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
BPoint(BPoint that) |
|
BPoint(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<BPoint> |
__io__addressof()
Instantiates a pointer on this instance.
|
float |
getAlfa()
Get method for struct member 'alfa'.
|
short |
getF1()
Get method for struct member 'f1'.
|
short |
getHide()
Get method for struct member 'hide'.
|
float |
getPad()
Get method for struct member 'pad'.
|
float |
getRadius()
Get method for struct member 'radius'.
|
CArrayFacade<java.lang.Float> |
getVec()
Get method for struct member 'vec'.
|
float |
getWeight()
Get method for struct member 'weight'.
|
void |
setAlfa(float alfa)
Set method for struct member 'alfa'.
|
void |
setF1(short f1)
Set method for struct member 'f1'.
|
void |
setHide(short hide)
Set method for struct member 'hide'.
|
void |
setPad(float pad)
Set method for struct member 'pad'.
|
void |
setRadius(float radius)
Set method for struct member 'radius'.
|
void |
setVec(CArrayFacade<java.lang.Float> vec)
Set method for struct member 'vec'.
|
void |
setWeight(float weight)
Set method for struct member 'weight'.
|
__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 BPoint.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__vec
This is how you get a reference on the corresponding field in the struct:
BPoint bpoint = ...; CPointer<Object> p = bpoint.__dna__addressof(BPoint.__DNA__FIELD__vec); CPointer<CArrayFacade<Float>> p_vec = p.cast(new Class[]{CArrayFacade.class, Float.class});
public static final long[] __DNA__FIELD__alfa
This is how you get a reference on the corresponding field in the struct:
BPoint bpoint = ...; CPointer<Object> p = bpoint.__dna__addressof(BPoint.__DNA__FIELD__alfa); CPointer<Float> p_alfa = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__weight
alfa: tilt in 3D View, weight: used for softbody goal weight
This is how you get a reference on the corresponding field in the struct:
BPoint bpoint = ...; CPointer<Object> p = bpoint.__dna__addressof(BPoint.__DNA__FIELD__weight); CPointer<Float> p_weight = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__f1
This is how you get a reference on the corresponding field in the struct:
BPoint bpoint = ...; CPointer<Object> p = bpoint.__dna__addressof(BPoint.__DNA__FIELD__f1); CPointer<Short> p_f1 = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__hide
f1: selection status, hide: is point hidden or not
This is how you get a reference on the corresponding field in the struct:
BPoint bpoint = ...; CPointer<Object> p = bpoint.__dna__addressof(BPoint.__DNA__FIELD__hide); CPointer<Short> p_hide = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__radius
This is how you get a reference on the corresponding field in the struct:
BPoint bpoint = ...; CPointer<Object> p = bpoint.__dna__addressof(BPoint.__DNA__FIELD__radius); CPointer<Float> p_radius = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__pad
user-set radius per point for beveling etc
This is how you get a reference on the corresponding field in the struct:
BPoint bpoint = ...; CPointer<Object> p = bpoint.__dna__addressof(BPoint.__DNA__FIELD__pad); CPointer<Float> p_pad = p.cast(new Class[]{Float.class});
public BPoint(long __address, Block __block, BlockTable __blockTable)
protected BPoint(BPoint that)
public CArrayFacade<java.lang.Float> getVec() throws java.io.IOException
java.io.IOException
__DNA__FIELD__vec
public void setVec(CArrayFacade<java.lang.Float> vec) throws java.io.IOException
java.io.IOException
__DNA__FIELD__vec
public float getAlfa() throws java.io.IOException
java.io.IOException
__DNA__FIELD__alfa
public void setAlfa(float alfa) throws java.io.IOException
java.io.IOException
__DNA__FIELD__alfa
public float getWeight() throws java.io.IOException
alfa: tilt in 3D View, weight: used for softbody goal weight
java.io.IOException
__DNA__FIELD__weight
public void setWeight(float weight) throws java.io.IOException
alfa: tilt in 3D View, weight: used for softbody goal weight
java.io.IOException
__DNA__FIELD__weight
public short getF1() throws java.io.IOException
java.io.IOException
__DNA__FIELD__f1
public void setF1(short f1) throws java.io.IOException
java.io.IOException
__DNA__FIELD__f1
public short getHide() throws java.io.IOException
f1: selection status, hide: is point hidden or not
java.io.IOException
__DNA__FIELD__hide
public void setHide(short hide) throws java.io.IOException
f1: selection status, hide: is point hidden or not
java.io.IOException
__DNA__FIELD__hide
public float getRadius() throws java.io.IOException
java.io.IOException
__DNA__FIELD__radius
public void setRadius(float radius) throws java.io.IOException
java.io.IOException
__DNA__FIELD__radius
public float getPad() throws java.io.IOException
user-set radius per point for beveling etc
java.io.IOException
__DNA__FIELD__pad
public void setPad(float pad) throws java.io.IOException
user-set radius per point for beveling etc
java.io.IOException
__DNA__FIELD__pad