Enum physx_sys::PxParticlePhaseFlag
source · #[repr(u32)]
pub enum PxParticlePhaseFlag {
ParticlePhaseGroupMask,
ParticlePhaseFlagsMask,
ParticlePhaseSelfCollide,
ParticlePhaseSelfCollideFilter,
ParticlePhaseFluid,
}
Expand description
Identifies per-particle behavior for a PxParticleSystem.
Variants§
ParticlePhaseGroupMask
Bits [ 0, 19] represent the particle group for controlling collisions
ParticlePhaseFlagsMask
Bits [20, 23] hold flags about how the particle behave
ParticlePhaseSelfCollide
If set this particle will interact with particles of the same group
ParticlePhaseSelfCollideFilter
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
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 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 PxParticlePhaseFlag
impl Debug for PxParticlePhaseFlag
source§impl PartialEq<PxParticlePhaseFlag> for PxParticlePhaseFlag
impl PartialEq<PxParticlePhaseFlag> for PxParticlePhaseFlag
source§fn eq(&self, other: &PxParticlePhaseFlag) -> bool
fn eq(&self, other: &PxParticlePhaseFlag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.