Enum physx_sys::PxSoftBodyFlag
source · #[repr(i32)]pub enum PxSoftBodyFlag {
DisableSelfCollision = 1,
ComputeStressTensor = 2,
EnableCcd = 4,
DisplaySimMesh = 8,
Kinematic = 16,
PartiallyKinematic = 32,
}
Expand description
Flags to enable or disable special modes of a SoftBody
Variants§
DisableSelfCollision = 1
Determines if self collision will be detected and resolved
ComputeStressTensor = 2
Enables computation of a Cauchy stress tensor for every tetrahedron in the simulation mesh. The tensors can be accessed through the softbody direct API
EnableCcd = 4
Enables support for continuous collision detection
DisplaySimMesh = 8
Enable debug rendering to display the simulation mesh
Kinematic = 16
Enables support for kinematic motion of the collision and simulation mesh.
PartiallyKinematic = 32
Enables partially kinematic motion of the collisios and simulation mesh.
Trait Implementations§
source§impl Clone for PxSoftBodyFlag
impl Clone for PxSoftBodyFlag
source§fn clone(&self) -> PxSoftBodyFlag
fn clone(&self) -> PxSoftBodyFlag
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PxSoftBodyFlag
impl Debug for PxSoftBodyFlag
source§impl PartialEq for PxSoftBodyFlag
impl PartialEq for PxSoftBodyFlag
source§fn eq(&self, other: &PxSoftBodyFlag) -> bool
fn eq(&self, other: &PxSoftBodyFlag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PxSoftBodyFlag
impl Eq for PxSoftBodyFlag
impl StructuralEq for PxSoftBodyFlag
impl StructuralPartialEq for PxSoftBodyFlag
Auto Trait Implementations§
impl RefUnwindSafe for PxSoftBodyFlag
impl Send for PxSoftBodyFlag
impl Sync for PxSoftBodyFlag
impl Unpin for PxSoftBodyFlag
impl UnwindSafe for PxSoftBodyFlag
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more