container class for the velocity shader callback. More...
#include <NxClothingVelocityCallback.h>
Public Member Functions | |
| virtual bool | velocityShader (physx::PxVec3 *velocities, const physx::PxVec3 *positions, physx::PxU32 numParticles)=0 |
| This callback will be fired in Apex threads. It must not address any user data, just operate on the data. | |
container class for the velocity shader callback.
| virtual bool physx::apex::NxClothingVelocityCallback::velocityShader | ( | physx::PxVec3 * | velocities, |
| const physx::PxVec3 * | positions, | ||
| physx::PxU32 | numParticles | ||
| ) | [pure virtual] |
This callback will be fired in Apex threads. It must not address any user data, just operate on the data.
| [in,out] | velocities | The velocities of the cloth. These can be modified if necessary, but then the method needs to return true! |
| [in] | positions | The positions of the cloth. Must not be modified, only read. |
| [in] | numParticles | Size of the velocities and positions array. |