public class RigidBodyWorld extends CFacade
World
RigidBodyWorld
(rbw)Represents a "simulation scene" existing within the parent scene.
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__constraints
Field descriptor (offset) for struct member 'constraints'.
|
static long[] |
__DNA__FIELD__effector_weights
Field descriptor (offset) for struct member 'effector_weights'.
|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__group
Field descriptor (offset) for struct member 'group'.
|
static long[] |
__DNA__FIELD__ltime
Field descriptor (offset) for struct member 'ltime'.
|
static long[] |
__DNA__FIELD__num_solver_iterations
Field descriptor (offset) for struct member 'num_solver_iterations'.
|
static long[] |
__DNA__FIELD__numbodies
Field descriptor (offset) for struct member 'numbodies'.
|
static long[] |
__DNA__FIELD__objects
Field descriptor (offset) for struct member 'objects'.
|
static long[] |
__DNA__FIELD__pad
Field descriptor (offset) for struct member 'pad'.
|
static long[] |
__DNA__FIELD__physics_world
Field descriptor (offset) for struct member 'physics_world'.
|
static long[] |
__DNA__FIELD__pointcache
Field descriptor (offset) for struct member 'pointcache'.
|
static long[] |
__DNA__FIELD__ptcaches
Field descriptor (offset) for struct member 'ptcaches'.
|
static long[] |
__DNA__FIELD__steps_per_second
Field descriptor (offset) for struct member 'steps_per_second'.
|
static long[] |
__DNA__FIELD__time_scale
Field descriptor (offset) for struct member 'time_scale'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct RigidBodyWorld.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
RigidBodyWorld(long __address,
Block __block,
BlockTable __blockTable) |
protected |
RigidBodyWorld(RigidBodyWorld that) |
Modifier and Type | Method and Description |
---|---|
CPointer<RigidBodyWorld> |
__io__addressof()
Instantiates a pointer on this instance.
|
CPointer<Group> |
getConstraints()
Get method for struct member 'constraints'.
|
CPointer<EffectorWeights> |
getEffector_weights()
Get method for struct member 'effector_weights'.
|
int |
getFlag()
Get method for struct member 'flag'.
|
CPointer<Group> |
getGroup()
Get method for struct member 'group'.
|
float |
getLtime()
Get method for struct member 'ltime'.
|
short |
getNum_solver_iterations()
Get method for struct member 'num_solver_iterations'.
|
int |
getNumbodies()
Get method for struct member 'numbodies'.
|
CPointer<CPointer<BlenderObject>> |
getObjects()
Get method for struct member 'objects'.
|
int |
getPad()
Get method for struct member 'pad'.
|
CPointer<java.lang.Object> |
getPhysics_world()
Get method for struct member 'physics_world'.
|
CPointer<PointCache> |
getPointcache()
Get method for struct member 'pointcache'.
|
ListBase |
getPtcaches()
Get method for struct member 'ptcaches'.
|
short |
getSteps_per_second()
Get method for struct member 'steps_per_second'.
|
float |
getTime_scale()
Get method for struct member 'time_scale'.
|
void |
setConstraints(CPointer<Group> constraints)
Set method for struct member 'constraints'.
|
void |
setEffector_weights(CPointer<EffectorWeights> effector_weights)
Set method for struct member 'effector_weights'.
|
void |
setFlag(int flag)
Set method for struct member 'flag'.
|
void |
setGroup(CPointer<Group> group)
Set method for struct member 'group'.
|
void |
setLtime(float ltime)
Set method for struct member 'ltime'.
|
void |
setNum_solver_iterations(short num_solver_iterations)
Set method for struct member 'num_solver_iterations'.
|
void |
setNumbodies(int numbodies)
Set method for struct member 'numbodies'.
|
void |
setObjects(CPointer<CPointer<BlenderObject>> objects)
Set method for struct member 'objects'.
|
void |
setPad(int pad)
Set method for struct member 'pad'.
|
void |
setPhysics_world(CPointer<java.lang.Object> physics_world)
Set method for struct member 'physics_world'.
|
void |
setPointcache(CPointer<PointCache> pointcache)
Set method for struct member 'pointcache'.
|
void |
setPtcaches(ListBase ptcaches)
Set method for struct member 'ptcaches'.
|
void |
setSteps_per_second(short steps_per_second)
Set method for struct member 'steps_per_second'.
|
void |
setTime_scale(float time_scale)
Set method for struct member 'time_scale'.
|
__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 RigidBodyWorld.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__effector_weights
Sim World
Settings ----------------------------------------------------------- effectors info
This is how you get a reference on the corresponding field in the struct:
RigidBodyWorld rigidbodyworld = ...; CPointer<Object> p = rigidbodyworld.__dna__addressof(RigidBodyWorld.__DNA__FIELD__effector_weights); CPointer<CPointer<EffectorWeights>> p_effector_weights = p.cast(new Class[]{CPointer.class, EffectorWeights.class});
public static final long[] __DNA__FIELD__group
Group
containing objects to use for Rigid Bodies
This is how you get a reference on the corresponding field in the struct:
RigidBodyWorld rigidbodyworld = ...; CPointer<Object> p = rigidbodyworld.__dna__addressof(RigidBodyWorld.__DNA__FIELD__group); CPointer<CPointer<Group>> p_group = p.cast(new Class[]{CPointer.class, Group.class});
public static final long[] __DNA__FIELD__objects
Array to access group objects by index, only used at runtime
This is how you get a reference on the corresponding field in the struct:
RigidBodyWorld rigidbodyworld = ...; CPointer<Object> p = rigidbodyworld.__dna__addressof(RigidBodyWorld.__DNA__FIELD__objects); CPointer<CPointer<CPointer<BlenderObject>>> p_objects = p.cast(new Class[]{CPointer.class, CPointer.class, BlenderObject.class});
public static final long[] __DNA__FIELD__constraints
Group
containing objects to use for Rigid Body Constraints
This is how you get a reference on the corresponding field in the struct:
RigidBodyWorld rigidbodyworld = ...; CPointer<Object> p = rigidbodyworld.__dna__addressof(RigidBodyWorld.__DNA__FIELD__constraints); CPointer<CPointer<Group>> p_constraints = p.cast(new Class[]{CPointer.class, Group.class});
public static final long[] __DNA__FIELD__pad
This is how you get a reference on the corresponding field in the struct:
RigidBodyWorld rigidbodyworld = ...; CPointer<Object> p = rigidbodyworld.__dna__addressof(RigidBodyWorld.__DNA__FIELD__pad); CPointer<Integer> p_pad = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__ltime
last frame world was evaluated for (internal)
This is how you get a reference on the corresponding field in the struct:
RigidBodyWorld rigidbodyworld = ...; CPointer<Object> p = rigidbodyworld.__dna__addressof(RigidBodyWorld.__DNA__FIELD__ltime); CPointer<Float> p_ltime = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__pointcache
cache
This is how you get a reference on the corresponding field in the struct:
RigidBodyWorld rigidbodyworld = ...; CPointer<Object> p = rigidbodyworld.__dna__addressof(RigidBodyWorld.__DNA__FIELD__pointcache); CPointer<CPointer<PointCache>> p_pointcache = p.cast(new Class[]{CPointer.class, PointCache.class});
public static final long[] __DNA__FIELD__ptcaches
This is how you get a reference on the corresponding field in the struct:
RigidBodyWorld rigidbodyworld = ...; CPointer<Object> p = rigidbodyworld.__dna__addressof(RigidBodyWorld.__DNA__FIELD__ptcaches); CPointer<ListBase> p_ptcaches = p.cast(new Class[]{ListBase.class});
public static final long[] __DNA__FIELD__numbodies
number of objects in rigid body group
This is how you get a reference on the corresponding field in the struct:
RigidBodyWorld rigidbodyworld = ...; CPointer<Object> p = rigidbodyworld.__dna__addressof(RigidBodyWorld.__DNA__FIELD__numbodies); CPointer<Integer> p_numbodies = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__steps_per_second
number of simulation steps thaken per second
This is how you get a reference on the corresponding field in the struct:
RigidBodyWorld rigidbodyworld = ...; CPointer<Object> p = rigidbodyworld.__dna__addressof(RigidBodyWorld.__DNA__FIELD__steps_per_second); CPointer<Short> p_steps_per_second = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__num_solver_iterations
number of constraint solver iterations made per simulation step
This is how you get a reference on the corresponding field in the struct:
RigidBodyWorld rigidbodyworld = ...; CPointer<Object> p = rigidbodyworld.__dna__addressof(RigidBodyWorld.__DNA__FIELD__num_solver_iterations); CPointer<Short> p_num_solver_iterations = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__flag
(eRigidBodyWorld_Flag) settings for this RigidBodyWorld
This is how you get a reference on the corresponding field in the struct:
RigidBodyWorld rigidbodyworld = ...; CPointer<Object> p = rigidbodyworld.__dna__addressof(RigidBodyWorld.__DNA__FIELD__flag); CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__time_scale
used to speed up or slow down the simulation
This is how you get a reference on the corresponding field in the struct:
RigidBodyWorld rigidbodyworld = ...; CPointer<Object> p = rigidbodyworld.__dna__addressof(RigidBodyWorld.__DNA__FIELD__time_scale); CPointer<Float> p_time_scale = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__physics_world
References to Physics Sim objects. Exist at runtime only -------------------- Physics sim world (i.e. btDiscreteDynamicsWorld)
This is how you get a reference on the corresponding field in the struct:
RigidBodyWorld rigidbodyworld = ...; CPointer<Object> p = rigidbodyworld.__dna__addressof(RigidBodyWorld.__DNA__FIELD__physics_world); CPointer<CPointer<Object>> p_physics_world = p.cast(new Class[]{CPointer.class, Object.class});
public RigidBodyWorld(long __address, Block __block, BlockTable __blockTable)
protected RigidBodyWorld(RigidBodyWorld that)
public CPointer<EffectorWeights> getEffector_weights() throws java.io.IOException
Sim World
Settings ----------------------------------------------------------- effectors info
java.io.IOException
__DNA__FIELD__effector_weights
public void setEffector_weights(CPointer<EffectorWeights> effector_weights) throws java.io.IOException
Sim World
Settings ----------------------------------------------------------- effectors info
java.io.IOException
__DNA__FIELD__effector_weights
public CPointer<Group> getGroup() throws java.io.IOException
Group
containing objects to use for Rigid Bodies
java.io.IOException
__DNA__FIELD__group
public void setGroup(CPointer<Group> group) throws java.io.IOException
Group
containing objects to use for Rigid Bodies
java.io.IOException
__DNA__FIELD__group
public CPointer<CPointer<BlenderObject>> getObjects() throws java.io.IOException
Array to access group objects by index, only used at runtime
java.io.IOException
__DNA__FIELD__objects
public void setObjects(CPointer<CPointer<BlenderObject>> objects) throws java.io.IOException
Array to access group objects by index, only used at runtime
java.io.IOException
__DNA__FIELD__objects
public CPointer<Group> getConstraints() throws java.io.IOException
Group
containing objects to use for Rigid Body Constraints
java.io.IOException
__DNA__FIELD__constraints
public void setConstraints(CPointer<Group> constraints) throws java.io.IOException
Group
containing objects to use for Rigid Body Constraints
java.io.IOException
__DNA__FIELD__constraints
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 getLtime() throws java.io.IOException
last frame world was evaluated for (internal)
java.io.IOException
__DNA__FIELD__ltime
public void setLtime(float ltime) throws java.io.IOException
last frame world was evaluated for (internal)
java.io.IOException
__DNA__FIELD__ltime
public CPointer<PointCache> getPointcache() throws java.io.IOException
cache
java.io.IOException
__DNA__FIELD__pointcache
public void setPointcache(CPointer<PointCache> pointcache) throws java.io.IOException
cache
java.io.IOException
__DNA__FIELD__pointcache
public ListBase getPtcaches() throws java.io.IOException
java.io.IOException
__DNA__FIELD__ptcaches
public void setPtcaches(ListBase ptcaches) throws java.io.IOException
java.io.IOException
__DNA__FIELD__ptcaches
public int getNumbodies() throws java.io.IOException
number of objects in rigid body group
java.io.IOException
__DNA__FIELD__numbodies
public void setNumbodies(int numbodies) throws java.io.IOException
number of objects in rigid body group
java.io.IOException
__DNA__FIELD__numbodies
public short getSteps_per_second() throws java.io.IOException
number of simulation steps thaken per second
java.io.IOException
__DNA__FIELD__steps_per_second
public void setSteps_per_second(short steps_per_second) throws java.io.IOException
number of simulation steps thaken per second
java.io.IOException
__DNA__FIELD__steps_per_second
public short getNum_solver_iterations() throws java.io.IOException
number of constraint solver iterations made per simulation step
java.io.IOException
__DNA__FIELD__num_solver_iterations
public void setNum_solver_iterations(short num_solver_iterations) throws java.io.IOException
number of constraint solver iterations made per simulation step
java.io.IOException
__DNA__FIELD__num_solver_iterations
public int getFlag() throws java.io.IOException
(eRigidBodyWorld_Flag) settings for this RigidBodyWorld
java.io.IOException
__DNA__FIELD__flag
public void setFlag(int flag) throws java.io.IOException
(eRigidBodyWorld_Flag) settings for this RigidBodyWorld
java.io.IOException
__DNA__FIELD__flag
public float getTime_scale() throws java.io.IOException
used to speed up or slow down the simulation
java.io.IOException
__DNA__FIELD__time_scale
public void setTime_scale(float time_scale) throws java.io.IOException
used to speed up or slow down the simulation
java.io.IOException
__DNA__FIELD__time_scale
public CPointer<java.lang.Object> getPhysics_world() throws java.io.IOException
References to Physics Sim objects. Exist at runtime only -------------------- Physics sim world (i.e. btDiscreteDynamicsWorld)
java.io.IOException
__DNA__FIELD__physics_world
public void setPhysics_world(CPointer<java.lang.Object> physics_world) throws java.io.IOException
References to Physics Sim objects. Exist at runtime only -------------------- Physics sim world (i.e. btDiscreteDynamicsWorld)
java.io.IOException
__DNA__FIELD__physics_world
public CPointer<RigidBodyWorld> __io__addressof()