Enum physx_sys::PxHairSystemFlag
source · #[repr(i32)]pub enum PxHairSystemFlag {
DisableSelfCollision = 1,
DisableExternalCollision = 2,
DisableTwosidedAttachment = 4,
}
Expand description
Binary settings for hair system simulation
Variants§
DisableSelfCollision = 1
Determines if self-collision between hair vertices is ignored
DisableExternalCollision = 2
Determines if collision between hair and external bodies is ignored
DisableTwosidedAttachment = 4
Determines if attachment constraint is also felt by body to which the hair is attached
Trait Implementations§
source§impl Clone for PxHairSystemFlag
impl Clone for PxHairSystemFlag
source§fn clone(&self) -> PxHairSystemFlag
fn clone(&self) -> PxHairSystemFlag
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 PxHairSystemFlag
impl Debug for PxHairSystemFlag
source§impl PartialEq for PxHairSystemFlag
impl PartialEq for PxHairSystemFlag
source§fn eq(&self, other: &PxHairSystemFlag) -> bool
fn eq(&self, other: &PxHairSystemFlag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PxHairSystemFlag
impl Eq for PxHairSystemFlag
impl StructuralEq for PxHairSystemFlag
impl StructuralPartialEq for PxHairSystemFlag
Auto Trait Implementations§
impl RefUnwindSafe for PxHairSystemFlag
impl Send for PxHairSystemFlag
impl Sync for PxHairSystemFlag
impl Unpin for PxHairSystemFlag
impl UnwindSafe for PxHairSystemFlag
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