Blender V5.3
blender::SoftBody Struct Reference

#include <DNA_object_force_types.h>

Public Attributes

int totpoint = 0
int totspring = 0
struct BodyPoint * bpoint = nullptr
struct BodySpring * bspring = nullptr
char _pad = {}
char msg_lock = 0
short msg_value = 0
float nodemass = 0
char namedVG_Mass [64] = ""
float grav = 0
float mediafrict = 0
float rklimit = 0
float physics_speed = 0
float goalspring = 0
float goalfrict = 0
float mingoal = 0
float maxgoal = 0
float defgoal = 0
short vertgroup = 0
char namedVG_Softgoal [64] = ""
short fuzzyness = 0
float inspring = 0
float infrict = 0
char namedVG_Spring_K [64] = ""
char _pad1 [6] = {}
char local = 0
eSoftBody_SolverFlag solverflags = {}
SBVertex ** keys = nullptr
int totpointkey = 0
int totkey = 0
float secondspring = 0
float colball = 0
float balldamp = 0
float ballstiff = 0
eSoftBody_Mode sbc_mode = SBC_MODE_MANUAL
short aeroedge = 0
short minloops = 0
short maxloops = 0
short choke = 0
short solver_ID = 0
short plastic = 0
short springpreload = 0
struct SBScratch * scratch = nullptr
float shearstiff = 0
float inpush = 0
struct SoftBody_Shared * shared = nullptr
DNA_DEPRECATED struct PointCache * pointcache = nullptr
ListBaseT< PointCache > ptcaches = {nullptr, nullptr}
struct Collection * collision_group = nullptr
struct EffectorWeights * effector_weights = nullptr
float lcom [3] = {}
float lrot [3][3] = {}
float lscale [3][3] = {}
int last_frame = 0

Detailed Description

Definition at line 299 of file DNA_object_force_types.h.

Member Data Documentation

◆ _pad

char blender::SoftBody::_pad = {}

Definition at line 308 of file DNA_object_force_types.h.

◆ _pad1

char blender::SoftBody::_pad1[6] = {}

Definition at line 364 of file DNA_object_force_types.h.

◆ aeroedge

◆ balldamp

float blender::SoftBody::balldamp = 0

Cooling down collision response.

Definition at line 381 of file DNA_object_force_types.h.

Referenced by blender::_softbody_calc_forces_slice_in_a_thread(), and blender::sbNew().

◆ ballstiff

float blender::SoftBody::ballstiff = 0

Pressure the ball is loaded with.

Definition at line 383 of file DNA_object_force_types.h.

Referenced by blender::_softbody_calc_forces_slice_in_a_thread(), and blender::sbNew().

◆ bpoint

◆ bspring

◆ choke

short blender::SoftBody::choke = 0

◆ colball

float blender::SoftBody::colball = 0

Fixed collision ball size if > 0.

Definition at line 379 of file DNA_object_force_types.h.

Referenced by blender::calculate_collision_balls(), and blender::sbNew().

◆ collision_group

struct Collection* blender::SoftBody::collision_group = nullptr

◆ defgoal

float blender::SoftBody::defgoal = 0

◆ effector_weights

◆ fuzzyness

short blender::SoftBody::fuzzyness = 0

Definition at line 349 of file DNA_object_force_types.h.

Referenced by blender::sbNew(), and blender::softbody_apply_forces().

◆ goalfrict

float blender::SoftBody::goalfrict = 0

Softbody goal springs friction.

Definition at line 335 of file DNA_object_force_types.h.

Referenced by blender::_softbody_calc_forces_slice_in_a_thread(), and blender::sbNew().

◆ goalspring

float blender::SoftBody::goalspring = 0

Softbody goal springs.

Definition at line 333 of file DNA_object_force_types.h.

Referenced by blender::_softbody_calc_forces_slice_in_a_thread(), and blender::sbNew().

◆ grav

float blender::SoftBody::grav = 0

Softbody amount of gravitation to apply.

Definition at line 323 of file DNA_object_force_types.h.

Referenced by blender::blo_do_versions_250(), and blender::sbNew().

◆ infrict

float blender::SoftBody::infrict = 0

Softbody inner springs friction.

Definition at line 355 of file DNA_object_force_types.h.

Referenced by blender::sb_spring_force(), and blender::sbNew().

◆ inpush

float blender::SoftBody::inpush = 0

Definition at line 396 of file DNA_object_force_types.h.

Referenced by blender::sb_spring_force(), and blender::sbNew().

◆ inspring

float blender::SoftBody::inspring = 0

◆ keys

SBVertex** blender::SoftBody::keys = nullptr

◆ last_frame

int blender::SoftBody::last_frame = 0

◆ lcom

float blender::SoftBody::lcom[3] = {}

◆ local

char blender::SoftBody::local = 0

Local==1: use local coords for baking.

Definition at line 366 of file DNA_object_force_types.h.

Referenced by blender::sbObjectStep().

◆ lrot

float blender::SoftBody::lrot[3][3] = {}

◆ lscale

float blender::SoftBody::lscale[3][3] = {}

◆ maxgoal

float blender::SoftBody::maxgoal = 0

Definition at line 338 of file DNA_object_force_types.h.

Referenced by blender::_final_goal(), and blender::sbNew().

◆ maxloops

short blender::SoftBody::maxloops = 0

Definition at line 387 of file DNA_object_force_types.h.

Referenced by blender::sbNew(), and blender::softbody_step().

◆ mediafrict

float blender::SoftBody::mediafrict = 0

Friction to env.

Definition at line 325 of file DNA_object_force_types.h.

Referenced by blender::_softbody_calc_forces_slice_in_a_thread(), and blender::sbNew().

◆ mingoal

float blender::SoftBody::mingoal = 0

Quick limits for goal.

Definition at line 337 of file DNA_object_force_types.h.

Referenced by blender::_final_goal(), and blender::sbNew().

◆ minloops

short blender::SoftBody::minloops = 0

Definition at line 386 of file DNA_object_force_types.h.

Referenced by blender::sbNew(), and blender::softbody_step().

◆ msg_lock

char blender::SoftBody::msg_lock = 0

Definition at line 309 of file DNA_object_force_types.h.

◆ msg_value

short blender::SoftBody::msg_value = 0

Definition at line 310 of file DNA_object_force_types.h.

◆ namedVG_Mass

char blender::SoftBody::namedVG_Mass[64] = ""

Along with it introduce mass painting starting to fix old bug .. nastiness that VG are indexes rather find them by name tag to find it -> jow20090613.

Definition at line 321 of file DNA_object_force_types.h.

Referenced by blender::lattice_to_softbody(), and blender::mesh_to_softbody().

◆ namedVG_Softgoal

char blender::SoftBody::namedVG_Softgoal[64] = ""

Starting to fix old bug .. nastiness that VG are indexes rather find them by name tag to find it -> jow20090613.

Definition at line 347 of file DNA_object_force_types.h.

◆ namedVG_Spring_K

char blender::SoftBody::namedVG_Spring_K[64] = ""

Along with it introduce Spring_K painting starting to fix old bug .. nastiness that VG are indexes rather find them by name tag to find it -> jow20090613.

Definition at line 361 of file DNA_object_force_types.h.

Referenced by blender::lattice_to_softbody(), and blender::mesh_to_softbody().

◆ nodemass

float blender::SoftBody::nodemass = 0

Softbody mass of vertex.

Definition at line 316 of file DNA_object_force_types.h.

Referenced by blender::_final_mass(), blender::sbNew(), and blender::softbody_apply_forces().

◆ physics_speed

float blender::SoftBody::physics_speed = 0

User control over simulation speed.

Definition at line 329 of file DNA_object_force_types.h.

Referenced by blender::blo_do_versions_pre250(), blender::sb_time_scale(), and blender::sbNew().

◆ plastic

short blender::SoftBody::plastic = 0

◆ pointcache

◆ ptcaches

◆ rklimit

float blender::SoftBody::rklimit = 0

Error limit for ODE solver.

Definition at line 327 of file DNA_object_force_types.h.

Referenced by blender::sbNew(), and blender::softbody_step().

◆ sbc_mode

eSoftBody_Mode blender::SoftBody::sbc_mode = SBC_MODE_MANUAL

Definition at line 384 of file DNA_object_force_types.h.

Referenced by blender::calculate_collision_balls(), and blender::sbNew().

◆ scratch

◆ secondspring

float blender::SoftBody::secondspring = 0

◆ shared

◆ shearstiff

float blender::SoftBody::shearstiff = 0

Definition at line 395 of file DNA_object_force_types.h.

Referenced by blender::sb_spring_force(), and blender::sbNew().

◆ solver_ID

short blender::SoftBody::solver_ID = 0

Definition at line 389 of file DNA_object_force_types.h.

Referenced by blender::softbody_step().

◆ solverflags

◆ springpreload

short blender::SoftBody::springpreload = 0

Definition at line 391 of file DNA_object_force_types.h.

Referenced by blender::springs_from_mesh().

◆ totkey

◆ totpoint

◆ totpointkey

int blender::SoftBody::totpointkey = 0

If totpointkey != totpoint or totkey!- (efra-sfra)/interval -> free keys.

Definition at line 373 of file DNA_object_force_types.h.

Referenced by blender::sbCopy().

◆ totspring

◆ vertgroup

short blender::SoftBody::vertgroup = 0

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