Class RigidBodyWorld
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.RigidBodyWorld
-
public class RigidBodyWorld extends CFacade
Generated facet for DNA struct type 'RigidBodyWorld'.Class Documentation
Blender Source Code
RigidBodyWorld
(rbw)Represents a "simulation scene" existing within the parent scene.
-
-
Field Summary
Fields Modifier and Type Field 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.Deprecatedstatic long[]
__DNA__FIELD__ptcaches
Deprecated.Deprecatedstatic 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.-
Fields inherited from class org.cakelab.blender.nio.CFacade
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
-
-
Constructor Summary
Constructors Modifier Constructor Description RigidBodyWorld(long __address, Block __block, BlockTable __blockTable)
protected
RigidBodyWorld(RigidBodyWorld that)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method 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.DeprecatedListBase
getPtcaches()
Deprecated.DeprecatedCPointer<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.Deprecatedvoid
setPtcaches(ListBase ptcaches)
Deprecated.Deprecatedvoid
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'.-
Methods inherited from class org.cakelab.blender.nio.CFacade
__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, equals, hashCode
-
-
-
-
Field Detail
-
__DNA__SDNA_INDEX
public static final int __DNA__SDNA_INDEX
This is the sdna index of the struct RigidBodyWorld.It is required when allocating a new block to store data for RigidBodyWorld.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__effector_weights
public static final long[] __DNA__FIELD__effector_weights
Field descriptor (offset) for struct member 'effector_weights'.Field Documentation
Blender Python API
(read-only)Blender Source Code
Sim
World
Settings ----------------------------------------------------------Effectors info. Pointer Arithmetics
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});
Metadata
- Field: 'effector_weights'
- Signature: 'EffectorWeights*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__group
public static final long[] __DNA__FIELD__group
Field descriptor (offset) for struct member 'group'.Field Documentation
Blender Source Code
Group containing objects to use for Rigid Bodies.
Pointer Arithmetics
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});
Metadata
- Field: 'group'
- Signature: 'Collection*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__objects
public static final long[] __DNA__FIELD__objects
Field descriptor (offset) for struct member 'objects'.Field Documentation
Blender Source Code
Array to access group objects by index, only used at runtime.
Pointer Arithmetics
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});
Metadata
- Field: 'objects'
- Signature: 'Object**'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__constraints
public static final long[] __DNA__FIELD__constraints
Field descriptor (offset) for struct member 'constraints'.Field Documentation
Blender Python API
Collection containing rigid body constraint objectsBlender Source Code
Group containing objects to use for Rigid Body Constraint.s
Pointer Arithmetics
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});
Metadata
- Field: 'constraints'
- Signature: 'Collection*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD___pad
public static final long[] __DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.Pointer Arithmetics
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});
Metadata
- Field: '_pad'
- Signature: 'char[4]'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__ltime
public static final long[] __DNA__FIELD__ltime
Field descriptor (offset) for struct member 'ltime'.Field Documentation
Blender Source Code
Last frame world was evaluated for (internal).
Pointer Arithmetics
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});
Metadata
- Field: 'ltime'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__shared
public static final long[] __DNA__FIELD__shared
Field descriptor (offset) for struct member 'shared'.Field Documentation
Blender Source Code
This pointer is shared between all evaluated copies.
Pointer Arithmetics
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});
Metadata
- Field: 'shared'
- Signature: 'RigidBodyWorld_Shared*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__pointcache
public static final long[] __DNA__FIELD__pointcache
Deprecated.DeprecatedPointer Arithmetics
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});
Metadata
- Field: 'pointcache'
- Signature: 'PointCache*'
- Actual Size (32bit/64bit): 4/8
Field descriptor (offset) for struct member 'pointcache'.Field Documentation
Blender Source Code
Moved to shared->pointcache.
-
__DNA__FIELD__ptcaches
public static final long[] __DNA__FIELD__ptcaches
Deprecated.DeprecatedPointer Arithmetics
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});
Metadata
- Field: 'ptcaches'
- Signature: 'ListBase'
- Actual Size (32bit/64bit): 8/16
Field descriptor (offset) for struct member 'ptcaches'.Field Documentation
Blender Source Code
Moved to shared->ptcaches.
-
__DNA__FIELD__numbodies
public static final long[] __DNA__FIELD__numbodies
Field descriptor (offset) for struct member 'numbodies'.Field Documentation
Blender Source Code
Number of objects in rigid body group.
Pointer Arithmetics
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});
Metadata
- Field: 'numbodies'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__steps_per_second
public static final long[] __DNA__FIELD__steps_per_second
Field descriptor (offset) for struct member 'steps_per_second'.Field Documentation
Blender Python API
Number of simulation steps taken per second (higher values are more accurate but slower)Blender Source Code
Number of simulation steps thaken per second.
Pointer Arithmetics
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});
Metadata
- Field: 'steps_per_second'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__num_solver_iterations
public static final long[] __DNA__FIELD__num_solver_iterations
Field descriptor (offset) for struct member 'num_solver_iterations'.Field Documentation
Blender Source Code
Number of constraint solver iterations made per simulation step.
Pointer Arithmetics
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});
Metadata
- Field: 'num_solver_iterations'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__flag
public static final long[] __DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.Field Documentation
Blender Source Code
(eRigidBodyWorld_Flag) settings for this
RigidBodyWorld
.Pointer Arithmetics
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});
Metadata
- Field: 'flag'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__time_scale
public static final long[] __DNA__FIELD__time_scale
Field descriptor (offset) for struct member 'time_scale'.Field Documentation
Blender Python API
Change the speed of the simulationBlender Source Code
Used to speed up or slow down the simulation.
Pointer Arithmetics
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});
Metadata
- Field: 'time_scale'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
RigidBodyWorld
public RigidBodyWorld(long __address, Block __block, BlockTable __blockTable)
-
RigidBodyWorld
protected RigidBodyWorld(RigidBodyWorld that)
-
-
Method Detail
-
getEffector_weights
public CPointer<EffectorWeights> getEffector_weights() throws java.io.IOException
Get method for struct member 'effector_weights'.Field Documentation
Blender Python API
(read-only)Blender Source Code
Sim
World
Settings ----------------------------------------------------------Effectors info. - Throws:
java.io.IOException
- See Also:
__DNA__FIELD__effector_weights
-
setEffector_weights
public void setEffector_weights(CPointer<EffectorWeights> effector_weights) throws java.io.IOException
Set method for struct member 'effector_weights'.Field Documentation
Blender Python API
(read-only)Blender Source Code
Sim
World
Settings ----------------------------------------------------------Effectors info. - Throws:
java.io.IOException
- See Also:
__DNA__FIELD__effector_weights
-
getGroup
public CPointer<Collection> getGroup() throws java.io.IOException
Get method for struct member 'group'.Field Documentation
Blender Source Code
Group containing objects to use for Rigid Bodies.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__group
-
setGroup
public void setGroup(CPointer<Collection> group) throws java.io.IOException
Set method for struct member 'group'.Field Documentation
Blender Source Code
Group containing objects to use for Rigid Bodies.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__group
-
getObjects
public CPointer<CPointer<BlenderObject>> getObjects() throws java.io.IOException
Get method for struct member 'objects'.Field Documentation
Blender Source Code
Array to access group objects by index, only used at runtime.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__objects
-
setObjects
public void setObjects(CPointer<CPointer<BlenderObject>> objects) throws java.io.IOException
Set method for struct member 'objects'.Field Documentation
Blender Source Code
Array to access group objects by index, only used at runtime.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__objects
-
getConstraints
public CPointer<Collection> getConstraints() throws java.io.IOException
Get method for struct member 'constraints'.Field Documentation
Blender Python API
Collection containing rigid body constraint objectsBlender Source Code
Group containing objects to use for Rigid Body Constraint.s
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__constraints
-
setConstraints
public void setConstraints(CPointer<Collection> constraints) throws java.io.IOException
Set method for struct member 'constraints'.Field Documentation
Blender Python API
Collection containing rigid body constraint objectsBlender Source Code
Group containing objects to use for Rigid Body Constraint.s
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__constraints
-
get_pad
public CArrayFacade<java.lang.Byte> get_pad() throws java.io.IOException
Get method for struct member '_pad'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad
-
set_pad
public void set_pad(CArrayFacade<java.lang.Byte> _pad) throws java.io.IOException
Set method for struct member '_pad'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad
-
getLtime
public float getLtime() throws java.io.IOException
Get method for struct member 'ltime'.Field Documentation
Blender Source Code
Last frame world was evaluated for (internal).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__ltime
-
setLtime
public void setLtime(float ltime) throws java.io.IOException
Set method for struct member 'ltime'.Field Documentation
Blender Source Code
Last frame world was evaluated for (internal).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__ltime
-
getShared
public CPointer<RigidBodyWorld_Shared> getShared() throws java.io.IOException
Get method for struct member 'shared'.Field Documentation
Blender Source Code
This pointer is shared between all evaluated copies.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__shared
-
setShared
public void setShared(CPointer<RigidBodyWorld_Shared> shared) throws java.io.IOException
Set method for struct member 'shared'.Field Documentation
Blender Source Code
This pointer is shared between all evaluated copies.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__shared
-
getPointcache
public CPointer<PointCache> getPointcache() throws java.io.IOException
Deprecated.DeprecatedGet method for struct member 'pointcache'.Field Documentation
Blender Source Code
Moved to shared->pointcache.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__pointcache
-
setPointcache
public void setPointcache(CPointer<PointCache> pointcache) throws java.io.IOException
Deprecated.DeprecatedSet method for struct member 'pointcache'.Field Documentation
Blender Source Code
Moved to shared->pointcache.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__pointcache
-
getPtcaches
public ListBase getPtcaches() throws java.io.IOException
Deprecated.DeprecatedGet method for struct member 'ptcaches'.Field Documentation
Blender Source Code
Moved to shared->ptcaches.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__ptcaches
-
setPtcaches
public void setPtcaches(ListBase ptcaches) throws java.io.IOException
Deprecated.DeprecatedSet method for struct member 'ptcaches'.Field Documentation
Blender Source Code
Moved to shared->ptcaches.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__ptcaches
-
getNumbodies
public int getNumbodies() throws java.io.IOException
Get method for struct member 'numbodies'.Field Documentation
Blender Source Code
Number of objects in rigid body group.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__numbodies
-
setNumbodies
public void setNumbodies(int numbodies) throws java.io.IOException
Set method for struct member 'numbodies'.Field Documentation
Blender Source Code
Number of objects in rigid body group.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__numbodies
-
getSteps_per_second
public short getSteps_per_second() throws java.io.IOException
Get method for struct member 'steps_per_second'.Field Documentation
Blender Python API
Number of simulation steps taken per second (higher values are more accurate but slower)Blender Source Code
Number of simulation steps thaken per second.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__steps_per_second
-
setSteps_per_second
public void setSteps_per_second(short steps_per_second) throws java.io.IOException
Set method for struct member 'steps_per_second'.Field Documentation
Blender Python API
Number of simulation steps taken per second (higher values are more accurate but slower)Blender Source Code
Number of simulation steps thaken per second.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__steps_per_second
-
getNum_solver_iterations
public short getNum_solver_iterations() throws java.io.IOException
Get method for struct member 'num_solver_iterations'.Field Documentation
Blender Source Code
Number of constraint solver iterations made per simulation step.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__num_solver_iterations
-
setNum_solver_iterations
public void setNum_solver_iterations(short num_solver_iterations) throws java.io.IOException
Set method for struct member 'num_solver_iterations'.Field Documentation
Blender Source Code
Number of constraint solver iterations made per simulation step.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__num_solver_iterations
-
getFlag
public int getFlag() throws java.io.IOException
Get method for struct member 'flag'.Field Documentation
Blender Source Code
(eRigidBodyWorld_Flag) settings for this
RigidBodyWorld
.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
setFlag
public void setFlag(int flag) throws java.io.IOException
Set method for struct member 'flag'.Field Documentation
Blender Source Code
(eRigidBodyWorld_Flag) settings for this
RigidBodyWorld
.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
getTime_scale
public float getTime_scale() throws java.io.IOException
Get method for struct member 'time_scale'.Field Documentation
Blender Python API
Change the speed of the simulationBlender Source Code
Used to speed up or slow down the simulation.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__time_scale
-
setTime_scale
public void setTime_scale(float time_scale) throws java.io.IOException
Set method for struct member 'time_scale'.Field Documentation
Blender Python API
Change the speed of the simulationBlender Source Code
Used to speed up or slow down the simulation.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__time_scale
-
__io__addressof
public CPointer<RigidBodyWorld> __io__addressof()
Instantiates a pointer on this instance.
-
-