public class RigidBodyOb extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__ang_damping
Field descriptor (offset) for struct member 'ang_damping'.
|
static long[] |
__DNA__FIELD__ang_sleep_thresh
Field descriptor (offset) for struct member 'ang_sleep_thresh'.
|
static long[] |
__DNA__FIELD__col_groups
Field descriptor (offset) for struct member 'col_groups'.
|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__friction
Field descriptor (offset) for struct member 'friction'.
|
static long[] |
__DNA__FIELD__lin_damping
Field descriptor (offset) for struct member 'lin_damping'.
|
static long[] |
__DNA__FIELD__lin_sleep_thresh
Field descriptor (offset) for struct member 'lin_sleep_thresh'.
|
static long[] |
__DNA__FIELD__margin
Field descriptor (offset) for struct member 'margin'.
|
static long[] |
__DNA__FIELD__mass
Field descriptor (offset) for struct member 'mass'.
|
static long[] |
__DNA__FIELD__orn
Field descriptor (offset) for struct member 'orn'.
|
static long[] |
__DNA__FIELD__pad
Field descriptor (offset) for struct member 'pad'.
|
static long[] |
__DNA__FIELD__pad1
Field descriptor (offset) for struct member 'pad1'.
|
static long[] |
__DNA__FIELD__physics_object
Field descriptor (offset) for struct member 'physics_object'.
|
static long[] |
__DNA__FIELD__physics_shape
Field descriptor (offset) for struct member 'physics_shape'.
|
static long[] |
__DNA__FIELD__pos
Field descriptor (offset) for struct member 'pos'.
|
static long[] |
__DNA__FIELD__restitution
Field descriptor (offset) for struct member 'restitution'.
|
static long[] |
__DNA__FIELD__shape
Field descriptor (offset) for struct member 'shape'.
|
static long[] |
__DNA__FIELD__type
Field descriptor (offset) for struct member 'type'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct RigidBodyOb.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
RigidBodyOb(long __address,
Block __block,
BlockTable __blockTable) |
protected |
RigidBodyOb(RigidBodyOb that) |
Modifier and Type | Method and Description |
---|---|
CPointer<RigidBodyOb> |
__io__addressof()
Instantiates a pointer on this instance.
|
float |
getAng_damping()
Get method for struct member 'ang_damping'.
|
float |
getAng_sleep_thresh()
Get method for struct member 'ang_sleep_thresh'.
|
int |
getCol_groups()
Get method for struct member 'col_groups'.
|
int |
getFlag()
Get method for struct member 'flag'.
|
float |
getFriction()
Get method for struct member 'friction'.
|
float |
getLin_damping()
Get method for struct member 'lin_damping'.
|
float |
getLin_sleep_thresh()
Get method for struct member 'lin_sleep_thresh'.
|
float |
getMargin()
Get method for struct member 'margin'.
|
float |
getMass()
Get method for struct member 'mass'.
|
CArrayFacade<java.lang.Float> |
getOrn()
Get method for struct member 'orn'.
|
int |
getPad()
Get method for struct member 'pad'.
|
float |
getPad1()
Get method for struct member 'pad1'.
|
CPointer<java.lang.Object> |
getPhysics_object()
Get method for struct member 'physics_object'.
|
CPointer<java.lang.Object> |
getPhysics_shape()
Get method for struct member 'physics_shape'.
|
CArrayFacade<java.lang.Float> |
getPos()
Get method for struct member 'pos'.
|
float |
getRestitution()
Get method for struct member 'restitution'.
|
short |
getShape()
Get method for struct member 'shape'.
|
short |
getType()
Get method for struct member 'type'.
|
void |
setAng_damping(float ang_damping)
Set method for struct member 'ang_damping'.
|
void |
setAng_sleep_thresh(float ang_sleep_thresh)
Set method for struct member 'ang_sleep_thresh'.
|
void |
setCol_groups(int col_groups)
Set method for struct member 'col_groups'.
|
void |
setFlag(int flag)
Set method for struct member 'flag'.
|
void |
setFriction(float friction)
Set method for struct member 'friction'.
|
void |
setLin_damping(float lin_damping)
Set method for struct member 'lin_damping'.
|
void |
setLin_sleep_thresh(float lin_sleep_thresh)
Set method for struct member 'lin_sleep_thresh'.
|
void |
setMargin(float margin)
Set method for struct member 'margin'.
|
void |
setMass(float mass)
Set method for struct member 'mass'.
|
void |
setOrn(CArrayFacade<java.lang.Float> orn)
Set method for struct member 'orn'.
|
void |
setPad(int pad)
Set method for struct member 'pad'.
|
void |
setPad1(float pad1)
Set method for struct member 'pad1'.
|
void |
setPhysics_object(CPointer<java.lang.Object> physics_object)
Set method for struct member 'physics_object'.
|
void |
setPhysics_shape(CPointer<java.lang.Object> physics_shape)
Set method for struct member 'physics_shape'.
|
void |
setPos(CArrayFacade<java.lang.Float> pos)
Set method for struct member 'pos'.
|
void |
setRestitution(float restitution)
Set method for struct member 'restitution'.
|
void |
setShape(short shape)
Set method for struct member 'shape'.
|
void |
setType(short type)
Set method for struct member 'type'.
|
__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 RigidBodyOb.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__physics_object
This is how you get a reference on the corresponding field in the struct:
RigidBodyOb rigidbodyob = ...; CPointer<Object> p = rigidbodyob.__dna__addressof(RigidBodyOb.__DNA__FIELD__physics_object); CPointer<CPointer<Object>> p_physics_object = p.cast(new Class[]{CPointer.class, Object.class});
public static final long[] __DNA__FIELD__physics_shape
This is how you get a reference on the corresponding field in the struct:
RigidBodyOb rigidbodyob = ...; CPointer<Object> p = rigidbodyob.__dna__addressof(RigidBodyOb.__DNA__FIELD__physics_shape); CPointer<CPointer<Object>> p_physics_shape = p.cast(new Class[]{CPointer.class, Object.class});
public static final long[] __DNA__FIELD__type
This is how you get a reference on the corresponding field in the struct:
RigidBodyOb rigidbodyob = ...; CPointer<Object> p = rigidbodyob.__dna__addressof(RigidBodyOb.__DNA__FIELD__type); CPointer<Short> p_type = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__shape
This is how you get a reference on the corresponding field in the struct:
RigidBodyOb rigidbodyob = ...; CPointer<Object> p = rigidbodyob.__dna__addressof(RigidBodyOb.__DNA__FIELD__shape); CPointer<Short> p_shape = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__flag
This is how you get a reference on the corresponding field in the struct:
RigidBodyOb rigidbodyob = ...; CPointer<Object> p = rigidbodyob.__dna__addressof(RigidBodyOb.__DNA__FIELD__flag); CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__col_groups
This is how you get a reference on the corresponding field in the struct:
RigidBodyOb rigidbodyob = ...; CPointer<Object> p = rigidbodyob.__dna__addressof(RigidBodyOb.__DNA__FIELD__col_groups); CPointer<Integer> p_col_groups = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__pad
This is how you get a reference on the corresponding field in the struct:
RigidBodyOb rigidbodyob = ...; CPointer<Object> p = rigidbodyob.__dna__addressof(RigidBodyOb.__DNA__FIELD__pad); CPointer<Integer> p_pad = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__mass
This is how you get a reference on the corresponding field in the struct:
RigidBodyOb rigidbodyob = ...; CPointer<Object> p = rigidbodyob.__dna__addressof(RigidBodyOb.__DNA__FIELD__mass); CPointer<Float> p_mass = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__friction
This is how you get a reference on the corresponding field in the struct:
RigidBodyOb rigidbodyob = ...; CPointer<Object> p = rigidbodyob.__dna__addressof(RigidBodyOb.__DNA__FIELD__friction); CPointer<Float> p_friction = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__restitution
This is how you get a reference on the corresponding field in the struct:
RigidBodyOb rigidbodyob = ...; CPointer<Object> p = rigidbodyob.__dna__addressof(RigidBodyOb.__DNA__FIELD__restitution); CPointer<Float> p_restitution = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__margin
This is how you get a reference on the corresponding field in the struct:
RigidBodyOb rigidbodyob = ...; CPointer<Object> p = rigidbodyob.__dna__addressof(RigidBodyOb.__DNA__FIELD__margin); CPointer<Float> p_margin = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__lin_damping
This is how you get a reference on the corresponding field in the struct:
RigidBodyOb rigidbodyob = ...; CPointer<Object> p = rigidbodyob.__dna__addressof(RigidBodyOb.__DNA__FIELD__lin_damping); CPointer<Float> p_lin_damping = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__ang_damping
This is how you get a reference on the corresponding field in the struct:
RigidBodyOb rigidbodyob = ...; CPointer<Object> p = rigidbodyob.__dna__addressof(RigidBodyOb.__DNA__FIELD__ang_damping); CPointer<Float> p_ang_damping = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__lin_sleep_thresh
This is how you get a reference on the corresponding field in the struct:
RigidBodyOb rigidbodyob = ...; CPointer<Object> p = rigidbodyob.__dna__addressof(RigidBodyOb.__DNA__FIELD__lin_sleep_thresh); CPointer<Float> p_lin_sleep_thresh = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__ang_sleep_thresh
This is how you get a reference on the corresponding field in the struct:
RigidBodyOb rigidbodyob = ...; CPointer<Object> p = rigidbodyob.__dna__addressof(RigidBodyOb.__DNA__FIELD__ang_sleep_thresh); CPointer<Float> p_ang_sleep_thresh = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__orn
This is how you get a reference on the corresponding field in the struct:
RigidBodyOb rigidbodyob = ...; CPointer<Object> p = rigidbodyob.__dna__addressof(RigidBodyOb.__DNA__FIELD__orn); CPointer<CArrayFacade<Float>> p_orn = p.cast(new Class[]{CArrayFacade.class, Float.class});
public static final long[] __DNA__FIELD__pos
This is how you get a reference on the corresponding field in the struct:
RigidBodyOb rigidbodyob = ...; CPointer<Object> p = rigidbodyob.__dna__addressof(RigidBodyOb.__DNA__FIELD__pos); CPointer<CArrayFacade<Float>> p_pos = p.cast(new Class[]{CArrayFacade.class, Float.class});
public static final long[] __DNA__FIELD__pad1
This is how you get a reference on the corresponding field in the struct:
RigidBodyOb rigidbodyob = ...; CPointer<Object> p = rigidbodyob.__dna__addressof(RigidBodyOb.__DNA__FIELD__pad1); CPointer<Float> p_pad1 = p.cast(new Class[]{Float.class});
public RigidBodyOb(long __address, Block __block, BlockTable __blockTable)
protected RigidBodyOb(RigidBodyOb that)
public CPointer<java.lang.Object> getPhysics_object() throws java.io.IOException
java.io.IOException
__DNA__FIELD__physics_object
public void setPhysics_object(CPointer<java.lang.Object> physics_object) throws java.io.IOException
java.io.IOException
__DNA__FIELD__physics_object
public CPointer<java.lang.Object> getPhysics_shape() throws java.io.IOException
java.io.IOException
__DNA__FIELD__physics_shape
public void setPhysics_shape(CPointer<java.lang.Object> physics_shape) throws java.io.IOException
java.io.IOException
__DNA__FIELD__physics_shape
public short getType() throws java.io.IOException
java.io.IOException
__DNA__FIELD__type
public void setType(short type) throws java.io.IOException
java.io.IOException
__DNA__FIELD__type
public short getShape() throws java.io.IOException
java.io.IOException
__DNA__FIELD__shape
public void setShape(short shape) throws java.io.IOException
java.io.IOException
__DNA__FIELD__shape
public int getFlag() throws java.io.IOException
java.io.IOException
__DNA__FIELD__flag
public void setFlag(int flag) throws java.io.IOException
java.io.IOException
__DNA__FIELD__flag
public int getCol_groups() throws java.io.IOException
java.io.IOException
__DNA__FIELD__col_groups
public void setCol_groups(int col_groups) throws java.io.IOException
java.io.IOException
__DNA__FIELD__col_groups
public int getPad() throws java.io.IOException
java.io.IOException
__DNA__FIELD__pad
public void setPad(int pad) throws java.io.IOException
java.io.IOException
__DNA__FIELD__pad
public float getMass() throws java.io.IOException
java.io.IOException
__DNA__FIELD__mass
public void setMass(float mass) throws java.io.IOException
java.io.IOException
__DNA__FIELD__mass
public float getFriction() throws java.io.IOException
java.io.IOException
__DNA__FIELD__friction
public void setFriction(float friction) throws java.io.IOException
java.io.IOException
__DNA__FIELD__friction
public float getRestitution() throws java.io.IOException
java.io.IOException
__DNA__FIELD__restitution
public void setRestitution(float restitution) throws java.io.IOException
java.io.IOException
__DNA__FIELD__restitution
public float getMargin() throws java.io.IOException
java.io.IOException
__DNA__FIELD__margin
public void setMargin(float margin) throws java.io.IOException
java.io.IOException
__DNA__FIELD__margin
public float getLin_damping() throws java.io.IOException
java.io.IOException
__DNA__FIELD__lin_damping
public void setLin_damping(float lin_damping) throws java.io.IOException
java.io.IOException
__DNA__FIELD__lin_damping
public float getAng_damping() throws java.io.IOException
java.io.IOException
__DNA__FIELD__ang_damping
public void setAng_damping(float ang_damping) throws java.io.IOException
java.io.IOException
__DNA__FIELD__ang_damping
public float getLin_sleep_thresh() throws java.io.IOException
java.io.IOException
__DNA__FIELD__lin_sleep_thresh
public void setLin_sleep_thresh(float lin_sleep_thresh) throws java.io.IOException
java.io.IOException
__DNA__FIELD__lin_sleep_thresh
public float getAng_sleep_thresh() throws java.io.IOException
java.io.IOException
__DNA__FIELD__ang_sleep_thresh
public void setAng_sleep_thresh(float ang_sleep_thresh) throws java.io.IOException
java.io.IOException
__DNA__FIELD__ang_sleep_thresh
public CArrayFacade<java.lang.Float> getOrn() throws java.io.IOException
java.io.IOException
__DNA__FIELD__orn
public void setOrn(CArrayFacade<java.lang.Float> orn) throws java.io.IOException
java.io.IOException
__DNA__FIELD__orn
public CArrayFacade<java.lang.Float> getPos() throws java.io.IOException
java.io.IOException
__DNA__FIELD__pos
public void setPos(CArrayFacade<java.lang.Float> pos) throws java.io.IOException
java.io.IOException
__DNA__FIELD__pos
public float getPad1() throws java.io.IOException
java.io.IOException
__DNA__FIELD__pad1
public void setPad1(float pad1) throws java.io.IOException
java.io.IOException
__DNA__FIELD__pad1
public CPointer<RigidBodyOb> __io__addressof()