Helper class to manage PxParticleRigidDesc buffers used for communicating particle based rigids to PxPaticleSystem.
More...
#include <PxParticleExt.h>
Helper class to manage PxParticleRigidDesc buffers used for communicating particle based rigids to PxPaticleSystem.
◆ addRigid()
| virtual void physx::ExtGpu::PxParticleRigidBufferHelper::addRigid |
( |
const PxVec3 & |
translation, |
|
|
const PxQuat & |
rotation, |
|
|
const PxReal |
coefficient, |
|
|
const PxVec4 * |
localPositions, |
|
|
const PxVec4 * |
localNormals, |
|
|
PxU32 |
numParticles |
|
) |
| |
|
pure virtual |
Adds a rigid.
- Parameters
-
| [in] | translation | The world-space location of the rigid. |
| [in] | rotation | The world-space rotation of the rigid.
|
| [in] | coefficient | The stiffness of the rigid. |
| [in] | localPositions | The particle positions in local space. |
| [in] | localNormals | The surface normal for all the particles in local space. Each PxVec4 has the normal in the first 3 components and the SDF in the last component. |
| [in] | numParticles | The number of particles in this rigid. |
Implemented in physx::ExtGpu::ParticleRigidBuffersImpl, and physx::ExtGpu::ParticleRigidBuffersImpl.
◆ getMaxParticles()
| virtual PxU32 physx::ExtGpu::PxParticleRigidBufferHelper::getMaxParticles |
( |
| ) |
const |
|
pure virtual |
◆ getMaxRigids()
| virtual PxU32 physx::ExtGpu::PxParticleRigidBufferHelper::getMaxRigids |
( |
| ) |
const |
|
pure virtual |
◆ getNumParticles()
| virtual PxU32 physx::ExtGpu::PxParticleRigidBufferHelper::getNumParticles |
( |
| ) |
const |
|
pure virtual |
◆ getNumRigids()
| virtual PxU32 physx::ExtGpu::PxParticleRigidBufferHelper::getNumRigids |
( |
| ) |
const |
|
pure virtual |
◆ getParticleRigidDesc()
| virtual PxParticleRigidDesc & physx::ExtGpu::PxParticleRigidBufferHelper::getParticleRigidDesc |
( |
| ) |
|
|
pure virtual |
The documentation for this class was generated from the following file: