A vertex is a particle, the data in this structure is only used during creation of the soft body and not during simulation.
More...
#include <SoftBodySharedSettings.h>
A vertex is a particle, the data in this structure is only used during creation of the soft body and not during simulation.
◆ Vertex() [1/2]
SoftBodySharedSettings::Vertex::Vertex |
( |
| ) |
|
|
default |
◆ Vertex() [2/2]
SoftBodySharedSettings::Vertex::Vertex |
( |
const Float3 & |
inPosition, |
|
|
const Float3 & |
inVelocity = Float3(0, 0, 0) , |
|
|
float |
inInvMass = 1.0f |
|
) |
| |
|
inline |
◆ mInvMass
float SoftBodySharedSettings::Vertex::mInvMass = 1.0f |
Initial inverse of the mass of the vertex.
◆ mPosition
Float3 SoftBodySharedSettings::Vertex::mPosition { 0, 0, 0 } |
Initial position of the vertex.
◆ mVelocity
Float3 SoftBodySharedSettings::Vertex::mVelocity { 0, 0, 0 } |
Initial velocity of the vertex.
The documentation for this struct was generated from the following file: