#[repr(i32)]pub enum PxSoftBodyDataFlag {
TetIndices = 0,
TetStress = 1,
TetStresscoeff = 2,
TetRestPoses = 3,
TetRotations = 4,
TetPositionInvMass = 5,
SimTetIndices = 6,
SimVelocityInvMass = 7,
SimPositionInvMass = 8,
SimKinematicTarget = 9,
}Expand description
These flags determine what data is read or written to the gpu softbody.
Variants§
TetIndices = 0
The collision mesh tetrahedron indices (quadruples of int32)
TetStress = 1
The collision mesh cauchy stress tensors (float 3x3 matrices)
TetStresscoeff = 2
The collision mesh tetrahedron von Mises stress (float scalar)
TetRestPoses = 3
The collision mesh tetrahedron rest poses (float 3x3 matrices)
TetRotations = 4
The collision mesh tetrahedron orientations (quaternions, quadruples of float)
TetPositionInvMass = 5
The collision mesh vertex positions and their inverted mass in the 4th component (quadruples of float)
SimTetIndices = 6
The simulation mesh tetrahedron indices (quadruples of int32)
SimVelocityInvMass = 7
The simulation mesh vertex velocities and their inverted mass in the 4th component (quadruples of float)
SimPositionInvMass = 8
The simulation mesh vertex positions and their inverted mass in the 4th component (quadruples of float)
SimKinematicTarget = 9
The simulation mesh kinematic target positions
Trait Implementations§
Source§impl Clone for PxSoftBodyDataFlag
impl Clone for PxSoftBodyDataFlag
Source§fn clone(&self) -> PxSoftBodyDataFlag
fn clone(&self) -> PxSoftBodyDataFlag
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more