Enum physx_sys::PxSoftBodyDataFlag
source · #[repr(i32)]
pub enum PxSoftBodyDataFlag {
TetIndices,
TetStress,
TetStresscoeff,
TetRestPoses,
TetRotations,
TetPositionInvMass,
SimTetIndices,
SimVelocityInvMass,
SimPositionInvMass,
SimKinematicTarget,
}
Expand description
These flags determine what data is read or written to the gpu softbody.
Variants§
TetIndices
The collision mesh tetrahedron indices (quadruples of int32)
TetStress
The collision mesh cauchy stress tensors (float 3x3 matrices)
TetStresscoeff
The collision mesh tetrahedron von Mises stress (float scalar)
TetRestPoses
The collision mesh tetrahedron rest poses (float 3x3 matrices)
TetRotations
The collision mesh tetrahedron orientations (quaternions, quadruples of float)
TetPositionInvMass
The collision mesh vertex positions and their inverted mass in the 4th component (quadruples of float)
SimTetIndices
The simulation mesh tetrahedron indices (quadruples of int32)
SimVelocityInvMass
The simulation mesh vertex velocities and their inverted mass in the 4th component (quadruples of float)
SimPositionInvMass
The simulation mesh vertex positions and their inverted mass in the 4th component (quadruples of float)
SimKinematicTarget
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 moresource§impl Debug for PxSoftBodyDataFlag
impl Debug for PxSoftBodyDataFlag
source§impl PartialEq<PxSoftBodyDataFlag> for PxSoftBodyDataFlag
impl PartialEq<PxSoftBodyDataFlag> for PxSoftBodyDataFlag
source§fn eq(&self, other: &PxSoftBodyDataFlag) -> bool
fn eq(&self, other: &PxSoftBodyDataFlag) -> bool
self
and other
values to be equal, and is used
by ==
.