Blender V5.0
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

int ClothVertex::flags

Definition at line 93 of file BKE_cloth.hh.

Referenced by cloth_calc_force(), and cloth_update_springs().

◆ goal

float ClothVertex::goal

Definition at line 102 of file BKE_cloth.hh.

Referenced by cloth_calc_force(), cloth_calc_helper_forces(), and cloth_update_springs().

◆ impulse

float ClothVertex::impulse[3]

Definition at line 103 of file BKE_cloth.hh.

Referenced by cloth_collision_impulse_vert().

◆ impulse_count

unsigned int ClothVertex::impulse_count

Definition at line 106 of file BKE_cloth.hh.

Referenced by cloth_collision_impulse_vert().

◆ internal_stiff

float ClothVertex::internal_stiff

Definition at line 113 of file BKE_cloth.hh.

Referenced by cloth_build_springs(), and cloth_update_springs().

◆ mass

float ClothVertex::mass

Definition at line 101 of file BKE_cloth.hh.

Referenced by cloth_calc_force(), and cloth_calc_helper_forces().

◆ pressure_factor

float ClothVertex::pressure_factor

Definition at line 114 of file BKE_cloth.hh.

◆ shear_stiff

float ClothVertex::shear_stiff

Definition at line 110 of file BKE_cloth.hh.

Referenced by cloth_add_shear_bend_spring(), and cloth_update_springs().

◆ shrink_factor

float ClothVertex::shrink_factor

Definition at line 112 of file BKE_cloth.hh.

◆ 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_build_springs(), and cloth_update_springs().

◆ tv

◆ tx

float ClothVertex::tx[3]

Definition at line 98 of file BKE_cloth.hh.

Referenced by cloth_calc_helper_forces().

◆ txold

float ClothVertex::txold[3]

Definition at line 99 of file BKE_cloth.hh.

◆ v

float ClothVertex::v[3]

Definition at line 94 of file BKE_cloth.hh.

Referenced by ptcache_cloth_interpolate(), ptcache_cloth_read(), and ptcache_cloth_write().

◆ x

◆ xconst

float ClothVertex::xconst[3]

Definition at line 95 of file BKE_cloth.hh.

Referenced by cloth_calc_force(), ptcache_cloth_read(), and ptcache_cloth_write().

◆ xold

float ClothVertex::xold[3]

Definition at line 97 of file BKE_cloth.hh.

Referenced by cloth_calc_force().

◆ xrest


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