nvidia::apex::ImpactEmitterActor Class Reference
Impact emitter actor. Emits particles at impact places. More...
#include <ImpactEmitterActor.h>
Inheritance diagram for nvidia::apex::ImpactEmitterActor:
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 |
Detailed Description
Impact emitter actor. Emits particles at impact places.
Member Function Documentation
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.
- Parameters:
-
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.
- See also:
- ImpactEmitterAsset::querySetID
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.
The documentation for this class was generated from the following file:
Generated on Fri Dec 15 2017 13:58:38
Copyright © 2012-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.