Blender V5.3
blender::ClothCollSettings Struct Reference

#include <DNA_cloth_types.h>

Public Attributes

struct LinkNode * collision_list = nullptr
float epsilon = 0.015f
float self_friction = 5.0f
float friction = 5.0f
float damping = 0.0f
float selfepsilon = 0.015f
DNA_DEPRECATED float repel_force = 0
DNA_DEPRECATED float distance_repel = 0
CLOTH_COLLISIONSETTINGS_FLAGS flags = CLOTH_COLLSETTINGS_FLAG_ENABLED
DNA_DEPRECATED short self_loop_count = 0
short loop_count = 2
char _pad [4] = {}
struct Collection * group = nullptr
short vgroup_selfcol = 0
short vgroup_objcol = 0
char _pad2 [4] = {}
float clamp = 0.0f
float self_clamp = 0.0f

Detailed Description

Definition at line 216 of file DNA_cloth_types.h.

Member Data Documentation

◆ _pad

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

Definition at line 238 of file DNA_cloth_types.h.

◆ _pad2

char blender::ClothCollSettings::_pad2[4] = {}

Definition at line 245 of file DNA_cloth_types.h.

◆ clamp

float blender::ClothCollSettings::clamp = 0.0f

Impulse clamp for object collisions.

Definition at line 247 of file DNA_cloth_types.h.

Referenced by blender::cloth_collision_response_static().

◆ collision_list

struct LinkNode* blender::ClothCollSettings::collision_list = nullptr

E.g. pointer to temp memory for collisions.

Definition at line 220 of file DNA_cloth_types.h.

◆ damping

float blender::ClothCollSettings::damping = 0.0f

Collision restitution on contact with other object.

Definition at line 228 of file DNA_cloth_types.h.

◆ distance_repel

DNA_DEPRECATED float blender::ClothCollSettings::distance_repel = 0

Definition at line 232 of file DNA_cloth_types.h.

◆ epsilon

float blender::ClothCollSettings::epsilon = 0.015f

◆ flags

◆ friction

float blender::ClothCollSettings::friction = 5.0f

Friction/damping applied on contact with other object.

Definition at line 226 of file DNA_cloth_types.h.

◆ group

struct Collection* blender::ClothCollSettings::group = nullptr

◆ loop_count

short blender::ClothCollSettings::loop_count = 2

How many iterations for the collision loop.

Definition at line 237 of file DNA_cloth_types.h.

Referenced by blender::cloth_bvh_collision().

◆ repel_force

DNA_DEPRECATED float blender::ClothCollSettings::repel_force = 0

Definition at line 231 of file DNA_cloth_types.h.

◆ self_clamp

float blender::ClothCollSettings::self_clamp = 0.0f

Impulse clamp for self collisions.

Definition at line 249 of file DNA_cloth_types.h.

Referenced by blender::cloth_selfcollision_response_static().

◆ self_friction

float blender::ClothCollSettings::self_friction = 5.0f

Fiction/damping with self contact.

Definition at line 224 of file DNA_cloth_types.h.

Referenced by blender::cloth_selfcollision_response_static().

◆ self_loop_count

DNA_DEPRECATED short blender::ClothCollSettings::self_loop_count = 0

How many iterations for the selfcollision loop.

Definition at line 235 of file DNA_cloth_types.h.

◆ selfepsilon

float blender::ClothCollSettings::selfepsilon = 0.015f

◆ vgroup_objcol

short blender::ClothCollSettings::vgroup_objcol = 0

Vgroup to paint which vertices are not used for object collisions.

Definition at line 244 of file DNA_cloth_types.h.

Referenced by blender::BKE_object_defgroup_remap_update_users(), blender::cloth_apply_vgroup(), and blender::cloth_uses_vgroup().

◆ vgroup_selfcol

short blender::ClothCollSettings::vgroup_selfcol = 0

Vgroup to paint which vertices are not used for self collisions.

Definition at line 242 of file DNA_cloth_types.h.

Referenced by blender::BKE_object_defgroup_remap_update_users(), blender::cloth_apply_vgroup(), and blender::cloth_uses_vgroup().


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