Enum physx_sys::PxParticleSolverType
source · #[repr(i32)]pub enum PxParticleSolverType {
Pbd = 1,
Flip = 2,
Mpm = 4,
Custom = 8,
}
Expand description
Identifies the solver to use for a particle system.
Variants§
Pbd = 1
The position based dynamics solver that can handle fluid, granular material, cloth, inflatables etc. See PxPBDParticleSystem
.
Flip = 2
The FLIP fluid solver. See PxFLIPParticleSystem
.
Mpm = 4
The MPM (material point method) solver that can handle a variety of materials. See PxMPMParticleSystem
.
Custom = 8
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 for PxParticleSolverType
impl PartialEq 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 ==
.impl Copy for PxParticleSolverType
impl Eq for PxParticleSolverType
impl StructuralEq for PxParticleSolverType
impl StructuralPartialEq for PxParticleSolverType
Auto Trait Implementations§
impl RefUnwindSafe for PxParticleSolverType
impl Send for PxParticleSolverType
impl Sync for PxParticleSolverType
impl Unpin for PxParticleSolverType
impl UnwindSafe for PxParticleSolverType
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