#[repr(u32)]pub enum PxParticlePhaseFlag {
ParticlePhaseGroupMask = 1_048_575,
ParticlePhaseFlagsMask = 4_293_918_720,
ParticlePhaseSelfCollide = 1_048_576,
ParticlePhaseSelfCollideFilter = 2_097_152,
ParticlePhaseFluid = 4_194_304,
}Expand description
Identifies per-particle behavior for a PxParticleSystem.
Variants§
ParticlePhaseGroupMask = 1_048_575
Bits [ 0, 19] represent the particle group for controlling collisions
ParticlePhaseFlagsMask = 4_293_918_720
Bits [20, 23] hold flags about how the particle behave
ParticlePhaseSelfCollide = 1_048_576
If set this particle will interact with particles of the same group
ParticlePhaseSelfCollideFilter = 2_097_152
If set this particle will ignore collisions with particles closer than the radius in the rest pose, this flag should not be specified unless valid rest positions have been specified using setRestParticles()
ParticlePhaseFluid = 4_194_304
If set this particle will generate fluid density constraints for its overlapping neighbors
Trait Implementations§
Source§impl Clone for PxParticlePhaseFlag
impl Clone for PxParticlePhaseFlag
Source§fn clone(&self) -> PxParticlePhaseFlag
fn clone(&self) -> PxParticlePhaseFlag
Returns a duplicate 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 PxParticlePhaseFlag
impl Debug for PxParticlePhaseFlag
Source§impl PartialEq for PxParticlePhaseFlag
impl PartialEq for PxParticlePhaseFlag
impl Copy for PxParticlePhaseFlag
impl Eq for PxParticlePhaseFlag
impl StructuralPartialEq for PxParticlePhaseFlag
Auto Trait Implementations§
impl Freeze for PxParticlePhaseFlag
impl RefUnwindSafe for PxParticlePhaseFlag
impl Send for PxParticlePhaseFlag
impl Sync for PxParticlePhaseFlag
impl Unpin for PxParticlePhaseFlag
impl UnwindSafe for PxParticlePhaseFlag
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