Blender  V3.3
Public Attributes | List of all members
RigidBodyWorld Struct Reference

#include <DNA_rigidbody_types.h>

Public Attributes

struct EffectorWeightseffector_weights
 
struct Collectiongroup
 
struct Object ** objects
 
struct Collectionconstraints
 
char _pad [4]
 
float ltime
 
struct RigidBodyWorld_Sharedshared
 
struct PointCache *pointcache DNA_DEPRECATED
 
struct ListBase ptcaches DNA_DEPRECATED
 
int numbodies
 
short substeps_per_frame
 
short num_solver_iterations
 
int flag
 
float time_scale
 

Detailed Description

Definition at line 40 of file DNA_rigidbody_types.h.

Member Data Documentation

◆ _pad

char RigidBodyWorld::_pad[4]

Definition at line 53 of file DNA_rigidbody_types.h.

◆ constraints

struct Collection* RigidBodyWorld::constraints

◆ DNA_DEPRECATED [1/2]

struct PointCache* pointcache RigidBodyWorld::DNA_DEPRECATED

Moved to shared->pointcache.

Definition at line 60 of file DNA_rigidbody_types.h.

◆ DNA_DEPRECATED [2/2]

struct ListBase ptcaches RigidBodyWorld::DNA_DEPRECATED

Moved to shared->ptcaches.

Definition at line 60 of file DNA_rigidbody_types.h.

◆ effector_weights

struct EffectorWeights* RigidBodyWorld::effector_weights

◆ flag

int RigidBodyWorld::flag

(eRigidBodyWorld_Flag) settings for this RigidBodyWorld.

Definition at line 72 of file DNA_rigidbody_types.h.

Referenced by BKE_scene_check_rigidbody_active().

◆ group

struct Collection* RigidBodyWorld::group

◆ ltime

float RigidBodyWorld::ltime

Last frame world was evaluated for (internal).

Definition at line 55 of file DNA_rigidbody_types.h.

Referenced by blender::deg::SceneBackup::init_from_scene(), blender::deg::SceneBackup::restore_to_scene(), and scene_blend_read_data().

◆ num_solver_iterations

short RigidBodyWorld::num_solver_iterations

Number of constraint solver iterations made per simulation step.

Definition at line 69 of file DNA_rigidbody_types.h.

◆ numbodies

int RigidBodyWorld::numbodies

Number of objects in rigid body group.

Definition at line 64 of file DNA_rigidbody_types.h.

Referenced by ptcache_rigidbody_totpoint(), and scene_blend_read_data().

◆ objects

struct Object** RigidBodyWorld::objects

Array to access group objects by index, only used at runtime.

Definition at line 48 of file DNA_rigidbody_types.h.

Referenced by BKE_rigidbody_free_world(), ptcache_rigidbody_interpolate(), ptcache_rigidbody_read(), ptcache_rigidbody_write(), and scene_blend_read_data().

◆ shared

struct RigidBodyWorld_Shared* RigidBodyWorld::shared

◆ substeps_per_frame

short RigidBodyWorld::substeps_per_frame

Number of simulation sub-steps steps taken per frame.

Definition at line 67 of file DNA_rigidbody_types.h.

Referenced by blo_do_versions_290().

◆ time_scale

float RigidBodyWorld::time_scale

Used to speed up or slow down the simulation.

Definition at line 74 of file DNA_rigidbody_types.h.


The documentation for this struct was generated from the following file: