Turbulence VelocitySource Actor class. More...
#include <VelocitySourceActor.h>
Public Member Functions | |
virtual VelocitySourceAsset * | getVelocitySourceAsset () const =0 |
Returns the asset the instance has been created from. | |
virtual void | setEnabled (bool enable)=0 |
enable/disable the velocity source | |
virtual bool | isEnabled () const =0 |
Returns true if velocity source enabled. | |
virtual bool | intersectAgainstAABB (PxBounds3)=0 |
intersect the collision shape against a given AABB | |
virtual Shape * | getShape () const =0 |
Returns pointer to Shape of velocity source. | |
virtual BoxShape * | getBoxShape ()=0 |
If it is a box, cast to box class, return NULL otherwise. | |
virtual SphereShape * | getSphereShape ()=0 |
If it is a sphere, cast to sphere class, return NULL otherwise. | |
virtual float | getAverageVelocity () const =0 |
Return average value of velocity. | |
virtual float | getStdVelocity () const =0 |
Return STD value of velocity. | |
virtual PxMat44 | getPose () const =0 |
get the pose of a velocity source shape | |
virtual void | setVelocity (float averageVelocity, float stdVelocity)=0 |
Set average and STD values for velocity. | |
virtual void | setPose (PxMat44 pose)=0 |
set the pose of a velocity source shape | |
virtual void | setCurrentScale (float scale)=0 |
Sets the uniform overall object scale. | |
virtual float | getCurrentScale (void) const =0 |
Retrieves the uniform overall object scale. | |
virtual void | release ()=0 |
Release an object instance. |
Turbulence VelocitySource Actor class.
virtual void nvidia::apex::VelocitySourceActor::release | ( | ) | [pure virtual] |
Release an object instance.
Calling this will unhook the class and delete it from memory. You should not keep any reference to this class instance after calling release
Implements nvidia::apex::ApexInterface.