public class RigidBodyWorld extends CFacade
RigidBodyWorld
(rbw)
Represents a "simulation scene" existing within the parent scene.
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.
|
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__pointcache
Deprecated.
Deprecated
Pointer ArithmeticsThis 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}); Metadata
|
static long[] |
__DNA__FIELD__ptcaches
Deprecated.
Deprecated
Pointer ArithmeticsThis 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}); Metadata
|
static long[] |
__DNA__FIELD__shared
Field descriptor (offset) for struct member 'shared'.
|
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.
|
CArrayFacade<java.lang.Byte> |
get_pad()
Get method for struct member '_pad'.
|
CPointer<Collection> |
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<Collection> |
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'.
|
CPointer<PointCache> |
getPointcache()
Deprecated.
Deprecated
|
ListBase |
getPtcaches()
Deprecated.
Deprecated
|
CPointer<RigidBodyWorld_Shared> |
getShared()
Get method for struct member 'shared'.
|
short |
getSteps_per_second()
Get method for struct member 'steps_per_second'.
|
float |
getTime_scale()
Get method for struct member 'time_scale'.
|
void |
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.
|
void |
setConstraints(CPointer<Collection> 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<Collection> 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 |
setPointcache(CPointer<PointCache> pointcache)
Deprecated.
Deprecated
|
void |
setPtcaches(ListBase ptcaches)
Deprecated.
Deprecated
|
void |
setShared(CPointer<RigidBodyWorld_Shared> shared)
Set method for struct member 'shared'.
|
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 -------------------------------------------------------
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<Collection>> p_group = p.cast(new Class[]{CPointer.class, Collection.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 Constraint.s
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<Collection>> p_constraints = p.cast(new Class[]{CPointer.class, Collection.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<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.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__shared
This pointer is shared between all evaluated copies.
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__shared); CPointer<CPointer<RigidBodyWorld_Shared>> p_shared = p.cast(new Class[]{CPointer.class, RigidBodyWorld_Shared.class});
public static final long[] __DNA__FIELD__pointcache
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});
Moved to shared->pointcache.
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});
Moved to shared->ptcaches.
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 RigidBodyWorld(long __address, Block __block, BlockTable __blockTable)
protected RigidBodyWorld(RigidBodyWorld that)
public CPointer<EffectorWeights> getEffector_weights() throws java.io.IOException
Sim World
Settings -------------------------------------------------------
java.io.IOException
__DNA__FIELD__effector_weights
public void setEffector_weights(CPointer<EffectorWeights> effector_weights) throws java.io.IOException
Sim World
Settings -------------------------------------------------------
java.io.IOException
__DNA__FIELD__effector_weights
public CPointer<Collection> getGroup() throws java.io.IOException
Group containing objects to use for Rigid Bodies.
java.io.IOException
__DNA__FIELD__group
public void setGroup(CPointer<Collection> 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<Collection> getConstraints() throws java.io.IOException
Group containing objects to use for Rigid Body Constraint.s
java.io.IOException
__DNA__FIELD__constraints
public void setConstraints(CPointer<Collection> constraints) throws java.io.IOException
Group containing objects to use for Rigid Body Constraint.s
java.io.IOException
__DNA__FIELD__constraints
public CArrayFacade<java.lang.Byte> get_pad() throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad
public void set_pad(CArrayFacade<java.lang.Byte> _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<RigidBodyWorld_Shared> getShared() throws java.io.IOException
This pointer is shared between all evaluated copies.
java.io.IOException
__DNA__FIELD__shared
public void setShared(CPointer<RigidBodyWorld_Shared> shared) throws java.io.IOException
This pointer is shared between all evaluated copies.
java.io.IOException
__DNA__FIELD__shared
public CPointer<PointCache> getPointcache() throws java.io.IOException
Moved to shared->pointcache.
java.io.IOException
__DNA__FIELD__pointcache
public void setPointcache(CPointer<PointCache> pointcache) throws java.io.IOException
Moved to shared->pointcache.
java.io.IOException
__DNA__FIELD__pointcache
public ListBase getPtcaches() throws java.io.IOException
Moved to shared->ptcaches.
java.io.IOException
__DNA__FIELD__ptcaches
public void setPtcaches(ListBase ptcaches) throws java.io.IOException
Moved to shared->ptcaches.
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<RigidBodyWorld> __io__addressof()