APEX Framework: nvidia::apex::VelocitySourceActor Class Reference

NVIDIA APEX

nvidia::apex::VelocitySourceActor Class Reference

Turbulence VelocitySource Actor class. More...

#include <VelocitySourceActor.h>

Inheritance diagram for nvidia::apex::VelocitySourceActor:
nvidia::apex::Actor nvidia::apex::ApexInterface nvidia::apex::RWLockable

List of all members.

Public Member Functions

virtual VelocitySourceAssetgetVelocitySourceAsset () 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 ShapegetShape () const =0
 Returns pointer to Shape of velocity source.
virtual BoxShapegetBoxShape ()=0
 If it is a box, cast to box class, return NULL otherwise.
virtual SphereShapegetSphereShape ()=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.

Detailed Description

Turbulence VelocitySource Actor class.


Member Function Documentation

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.


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

Generated on Fri Dec 15 2017 13:58:41

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