Public Member Functions
physx::apex::NxClothingVelocityCallback Class Reference

container class for the velocity shader callback. More...

#include <NxClothingVelocityCallback.h>

List of all members.

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.

Detailed Description

container class for the velocity shader callback.


Member Function Documentation

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.

Parameters:
[in,out]velocitiesThe velocities of the cloth. These can be modified if necessary, but then the method needs to return true!
[in]positionsThe positions of the cloth. Must not be modified, only read.
[in]numParticlesSize of the velocities and positions array.
Returns:
return true if the velocities have been altered, false if they just have been read

The documentation for this class was generated from the following file:

Generated on Mon Apr 28 2014 08:01:17

Copyright © 2012-2014 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.