Blender V4.5
ClothVertex Struct Reference

#include <BKE_cloth.hh>

Public Attributes

int flags
float v [3]
float xconst [3]
float x [3]
float xold [3]
float tx [3]
float txold [3]
float tv [3]
float mass
float goal
float impulse [3]
float xrest [3]
float dcvel [3]
unsigned int impulse_count
float avg_spring_len
float struct_stiff
float bend_stiff
float shear_stiff
int spring_count
float shrink_factor
float internal_stiff
float pressure_factor

Detailed Description

The definition of a cloth vertex.

Definition at line 92 of file BKE_cloth.hh.

Member Data Documentation

◆ avg_spring_len

float ClothVertex::avg_spring_len

Definition at line 107 of file BKE_cloth.hh.

Referenced by cloth_build_springs(), and cloth_update_spring_lengths().

◆ bend_stiff

float ClothVertex::bend_stiff

◆ dcvel

float ClothVertex::dcvel[3]

Definition at line 105 of file BKE_cloth.hh.

◆ flags

◆ goal

float ClothVertex::goal

◆ impulse

float ClothVertex::impulse[3]

Definition at line 103 of file BKE_cloth.hh.

Referenced by cloth_collision_impulse_vert(), and cloth_from_object().

◆ impulse_count

◆ internal_stiff

float ClothVertex::internal_stiff

Definition at line 113 of file BKE_cloth.hh.

Referenced by cloth_apply_vgroup(), cloth_build_springs(), and cloth_update_springs().

◆ mass

float ClothVertex::mass

◆ pressure_factor

float ClothVertex::pressure_factor

Definition at line 114 of file BKE_cloth.hh.

Referenced by cloth_apply_vgroup(), and cloth_get_pressure_weights().

◆ shear_stiff

float ClothVertex::shear_stiff

◆ shrink_factor

float ClothVertex::shrink_factor

Definition at line 112 of file BKE_cloth.hh.

Referenced by cloth_apply_vgroup(), cloth_from_object(), and cloth_shrink_factor().

◆ spring_count

int ClothVertex::spring_count

Definition at line 111 of file BKE_cloth.hh.

Referenced by cloth_build_springs(), and cloth_update_spring_lengths().

◆ struct_stiff

float ClothVertex::struct_stiff

Definition at line 108 of file BKE_cloth.hh.

Referenced by cloth_apply_vgroup(), cloth_build_springs(), and cloth_update_springs().

◆ tv

float ClothVertex::tv[3]

◆ tx

float ClothVertex::tx[3]

Definition at line 98 of file BKE_cloth.hh.

Referenced by cloth_calc_helper_forces(), and cloth_from_object().

◆ txold

float ClothVertex::txold[3]

Definition at line 99 of file BKE_cloth.hh.

Referenced by cloth_from_object(), and do_step_cloth().

◆ v

float ClothVertex::v[3]

◆ x

◆ xconst

float ClothVertex::xconst[3]

◆ xold

float ClothVertex::xold[3]

Definition at line 97 of file BKE_cloth.hh.

Referenced by cloth_calc_force(), cloth_from_object(), and do_step_cloth().

◆ xrest


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