Impact emitter actor. Emits particles at impact places. More...
#include <ImpactEmitterActor.h>
Public Member Functions | |
virtual ImpactEmitterAsset * | getEmitterAsset () const =0 |
Gets the pointer to the underlying asset. | |
virtual void | registerImpact (const PxVec3 &hitPos, const PxVec3 &hitDir, const PxVec3 &surfNorm, uint32_t setID)=0 |
Registers an impact in the queue. | |
virtual void | setPreferredRenderVolume (RenderVolume *volume)=0 |
Protected Member Functions | |
virtual | ~ImpactEmitterActor () |
Impact emitter actor. Emits particles at impact places.
virtual nvidia::apex::ImpactEmitterActor::~ImpactEmitterActor | ( | ) | [inline, protected, virtual] |
virtual ImpactEmitterAsset* nvidia::apex::ImpactEmitterActor::getEmitterAsset | ( | ) | const [pure virtual] |
Gets the pointer to the underlying asset.
virtual void nvidia::apex::ImpactEmitterActor::registerImpact | ( | const PxVec3 & | hitPos, |
const PxVec3 & | hitDir, | ||
const PxVec3 & | surfNorm, | ||
uint32_t | setID | ||
) | [pure virtual] |
Registers an impact in the queue.
hitPos | impact position |
hitDir | impact direction |
surfNorm | normal of the surface that is hit by the impact |
setID | - id for the event set which should be spawned. Specifies the behavior. |
virtual void nvidia::apex::ImpactEmitterActor::setPreferredRenderVolume | ( | RenderVolume * | volume | ) | [pure virtual] |
Emitted particles are injected to specified render volume on initial frame. Set to NULL to clear the preferred volume.