Enum physx_sys::PxParticleSolverType
source · #[repr(i32)]
pub enum PxParticleSolverType {
Pbd,
Flip,
Mpm,
Custom,
}
Expand description
Identifies the solver to use for a particle system.
Variants§
Pbd
The position based dynamics solver that can handle fluid, granular material, cloth, inflatables etc. See PxPBDParticleSystem
.
Flip
The FLIP fluid solver. See PxFLIPParticleSystem
.
Mpm
The MPM (material point method) solver that can handle a variety of materials. See PxMPMParticleSystem
.
Custom
Custom solver. The user needs to specify the interaction of the particle by providing appropriate functions. Can be used e.g. for molecular dynamics simulations. See PxCustomParticleSystem
.
Trait Implementations§
source§impl Clone for PxParticleSolverType
impl Clone for PxParticleSolverType
source§fn clone(&self) -> PxParticleSolverType
fn clone(&self) -> PxParticleSolverType
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 PxParticleSolverType
impl Debug for PxParticleSolverType
source§impl PartialEq<PxParticleSolverType> for PxParticleSolverType
impl PartialEq<PxParticleSolverType> for PxParticleSolverType
source§fn eq(&self, other: &PxParticleSolverType) -> bool
fn eq(&self, other: &PxParticleSolverType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.