29#ifndef PX_PBD_PARTICLE_SYSTEM_H
30#define PX_PBD_PARTICLE_SYSTEM_H
34#include "foundation/PxSimpleTypes.h"
35#include "foundation/PxVec3.h"
37#include "PxParticleSystem.h"
46#pragma warning(disable : 4435)
135 PX_INLINE PxPBDParticleSystem(PxBaseFlags baseFlags) : PxParticleSystem(baseFlags) {}
A particle system that uses the position based dynamics(PBD) solver.
Definition PxPBDParticleSystem.h:57
virtual void setFluidBoundaryDensityScale(PxReal fluidBoundaryDensityScale)=0
Set the fluid boundary density scale.
virtual PxReal getFluidBoundaryDensityScale() const =0
Return the fluid boundary density scale.
virtual PxReal getFluidRestOffset() const =0
Return the fluid rest offset.
virtual void setGridSizeZ(PxU32 gridSizeZ)=0
Set the particle system grid size z dimension.
virtual bool isKindOf(const char *name) const PX_OVERRIDE
Returns whether a given type name matches with the type of this instance.
Definition PxPBDParticleSystem.h:136
virtual void setFluidRestOffset(PxReal fluidRestOffset)=0
Set the fluid rest offset.
virtual void setWind(const PxVec3 &wind)=0
Set wind direction and intensity.
virtual PxVec3 getWind() const =0
Retrieves the wind direction and intensity.
virtual void setGridSizeY(PxU32 gridSizeY)=0
Set the particle system grid size y dimension.
virtual const char * getConcreteTypeName() const PX_OVERRIDE
Returns string name of dynamic type.
Definition PxPBDParticleSystem.h:131
virtual void setGridSizeX(PxU32 gridSizeX)=0
Set the particle system grid size x dimension.
The shared base class for all particle systems.
Definition PxParticleSystem.h:137
virtual bool isKindOf(const char *name) const PX_OVERRIDE
Returns whether a given type name matches with the type of this instance.
Definition PxParticleSystem.h:437
3 Element vector class.
Definition PxVec3.h:50
#define PX_OVERRIDE
Definition PxPreprocessor.h:375
#define PX_INLINE
Definition PxPreprocessor.h:320
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39