APEX Emitter Module: nvidia::apex::ImpactEmitterActor Class Reference

NVIDIA APEX

nvidia::apex::ImpactEmitterActor Class Reference

Impact emitter actor. Emits particles at impact places. More...

#include <ImpactEmitterActor.h>

List of all members.

Public Member Functions

virtual ImpactEmitterAssetgetEmitterAsset () 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 ()

Detailed Description

Impact emitter actor. Emits particles at impact places.


Constructor & Destructor Documentation

virtual nvidia::apex::ImpactEmitterActor::~ImpactEmitterActor ( ) [inline, protected, virtual]

Member Function Documentation

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.

Parameters:
hitPosimpact position
hitDirimpact direction
surfNormnormal 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:27

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