Ground emitter asset. Used to create Ground emitter actors with specific properties. More...
#include <NxGroundEmitterAsset.h>
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 () |
Ground emitter asset. Used to create Ground emitter actors with specific properties.
| PX_INLINE physx::apex::NxGroundEmitterAsset::NxGroundEmitterAsset | ( | ) | [inline, protected] |
| virtual physx::apex::NxGroundEmitterAsset::~NxGroundEmitterAsset | ( | ) | [inline, protected, virtual] |
| 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.