Blender V5.3
blender::RigidBodyWorld Struct Reference

#include <DNA_rigidbody_types.h>

Public Attributes

struct EffectorWeights * effector_weights = nullptr
struct Collection * group = nullptr
struct Object ** objects = nullptr
struct Collection * constraints = nullptr
char _pad [4] = {}
float ltime = 0
struct RigidBodyWorld_Shared * shared = nullptr
DNA_DEPRECATED struct PointCache * pointcache = nullptr
ListBaseT< PointCache > ptcaches = {nullptr, nullptr}
int numbodies = 0
short substeps_per_frame = 0
short num_solver_iterations = 0
eRigidBodyWorld_Flag flag = {}
float time_scale = 0

Detailed Description

Definition at line 180 of file DNA_rigidbody_types.h.

Member Data Documentation

◆ _pad

char blender::RigidBodyWorld::_pad[4] = {}

Definition at line 195 of file DNA_rigidbody_types.h.

◆ constraints

◆ effector_weights

◆ flag

eRigidBodyWorld_Flag blender::RigidBodyWorld::flag = {}

◆ group

◆ ltime

float blender::RigidBodyWorld::ltime = 0

Last frame world was evaluated for (internal).

Definition at line 197 of file DNA_rigidbody_types.h.

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

◆ num_solver_iterations

short blender::RigidBodyWorld::num_solver_iterations = 0

Number of constraint solver iterations made per simulation step.

Definition at line 211 of file DNA_rigidbody_types.h.

◆ numbodies

int blender::RigidBodyWorld::numbodies = 0

Number of objects in rigid body group.

Definition at line 206 of file DNA_rigidbody_types.h.

Referenced by blender::BKE_rigidbody_world_id_loop(), blender::ptcache_rigidbody_totpoint(), and blender::scene_blend_read_data().

◆ objects

◆ pointcache

DNA_DEPRECATED struct PointCache* blender::RigidBodyWorld::pointcache = nullptr

◆ ptcaches

ListBaseT<PointCache> blender::RigidBodyWorld::ptcaches = {nullptr, nullptr}

◆ shared

◆ substeps_per_frame

short blender::RigidBodyWorld::substeps_per_frame = 0

Number of simulation sub-steps steps taken per frame.

Definition at line 209 of file DNA_rigidbody_types.h.

Referenced by blender::blo_do_versions_290().

◆ time_scale

float blender::RigidBodyWorld::time_scale = 0

Used to speed up or slow down the simulation.

Definition at line 216 of file DNA_rigidbody_types.h.


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