Public Member Functions | Protected Member Functions
physx::apex::NxGroundEmitterAsset Class Reference

Ground emitter asset. Used to create Ground emitter actors with specific properties. More...

#include <NxGroundEmitterAsset.h>

List of all members.

Public Member Functions

virtual const NxRange
< physx::PxF32 > & 
getDensityRange () const =0
 Gets the range from which the density of particles within the volume is randomly chosen.
virtual const NxRange
< physx::PxVec3 > & 
getVelocityRange () const =0
 Gets the velocity range. The ground emitter actor will create objects with a random velocity within the velocity range.
virtual const NxRange
< physx::PxF32 > & 
getLifetimeRange () const =0
 Gets the lifetime range. The ground emitter actor will create objects with a random lifetime (in seconds) within the lifetime range.
virtual physx::PxF32 getRadius () const =0
 Gets the radius. The ground emitter actor will create objects within a circle of size 'radius'.
virtual physx::PxU32 getMaxRaycastsPerFrame () const =0
 Gets The maximum raycasts number per frame.
virtual physx::PxF32 getRaycastHeight () const =0
 Gets the height from which the ground emitter will cast rays at terrain/objects opposite of the 'upDirection'.
virtual physx::PxF32 getSpawnHeight () const =0
 Gets the height above the ground to emit particles. If greater than 0, the ground emitter will refresh a disc above the player's position rather than refreshing a circle around the player's position.
virtual const char * getRaycastCollisionGroupMaskName () const =0
 Gets collision groups name used to cast rays.

Protected Member Functions

PX_INLINE NxGroundEmitterAsset ()
virtual ~NxGroundEmitterAsset ()

Detailed Description

Ground emitter asset. Used to create Ground emitter actors with specific properties.


Constructor & Destructor Documentation

PX_INLINE physx::apex::NxGroundEmitterAsset::NxGroundEmitterAsset ( ) [inline, protected]
virtual physx::apex::NxGroundEmitterAsset::~NxGroundEmitterAsset ( ) [inline, protected, virtual]

Member Function Documentation

virtual const NxRange<physx::PxF32>& physx::apex::NxGroundEmitterAsset::getDensityRange ( ) const [pure virtual]

Gets the range from which the density of particles within the volume is randomly chosen.

virtual const NxRange<physx::PxF32>& physx::apex::NxGroundEmitterAsset::getLifetimeRange ( ) const [pure virtual]

Gets the lifetime range. The ground emitter actor will create objects with a random lifetime (in seconds) within the lifetime range.

virtual physx::PxU32 physx::apex::NxGroundEmitterAsset::getMaxRaycastsPerFrame ( ) const [pure virtual]

Gets The maximum raycasts number per frame.

virtual physx::PxF32 physx::apex::NxGroundEmitterAsset::getRadius ( ) const [pure virtual]

Gets the radius. The ground emitter actor will create objects within a circle of size 'radius'.

virtual const char* physx::apex::NxGroundEmitterAsset::getRaycastCollisionGroupMaskName ( ) const [pure virtual]

Gets collision groups name used to cast rays.

virtual physx::PxF32 physx::apex::NxGroundEmitterAsset::getRaycastHeight ( ) const [pure virtual]

Gets the height from which the ground emitter will cast rays at terrain/objects opposite of the 'upDirection'.

virtual physx::PxF32 physx::apex::NxGroundEmitterAsset::getSpawnHeight ( ) const [pure virtual]

Gets the height above the ground to emit particles. If greater than 0, the ground emitter will refresh a disc above the player's position rather than refreshing a circle around the player's position.

virtual const NxRange<physx::PxVec3>& physx::apex::NxGroundEmitterAsset::getVelocityRange ( ) const [pure virtual]

Gets the velocity range. The ground emitter actor will create objects with a random velocity within the velocity range.


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

Generated on Mon Apr 28 2014 08:01:27

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