APEX Framework: nvidia::apex::EmitterAsset Class Reference

NVIDIA APEX

nvidia::apex::EmitterAsset Class Reference

APEX Emitter asset. Emits particles within some shape. More...

#include <EmitterAsset.h>

Inheritance diagram for nvidia::apex::EmitterAsset:
nvidia::apex::Asset nvidia::apex::ApexInterface nvidia::apex::RWLockable

List of all members.

Public Member Functions

virtual EmitterGeomExplicitisExplicitGeom ()=0
 Returns the explicit geometry for the all actors based on this asset if the asset is explicit, NULL otherwise.
virtual const EmitterGeomgetGeom () const =0
 Returns the geometry used for the all actors based on this asset.
virtual const char * getInstancedObjectEffectsAssetName (void) const =0
 Gets IOFX asset name that is used to visualize partices of this emitter.
virtual const char * getInstancedObjectSimulatorAssetName (void) const =0
 Gets IOS asset name that is used to simulate partices of this emitter.
virtual const char * getInstancedObjectSimulatorTypeName (void) const =0
 Gets IOS asset class name that is used to simulate partices of this emitter.
virtual const float & getDensity () const =0
 Gets the range used to choose the density of particles.
virtual const float & getRate () const =0
 Gets the range used to choose the emission rate.
virtual const PxVec3 & getVelocityLow () const =0
 Gets the range used to choose the velocity of particles.
virtual const PxVec3 & getVelocityHigh () const =0
 Gets the range used to choose the velocity of particles.
virtual const float & getLifetimeLow () const =0
 Gets the range used to choose the lifetime of particles.
virtual const float & getLifetimeHigh () const =0
 Gets the range used to choose the lifetime of particles.
virtual uint32_t getMaxSamples () const =0
 For an explicit emitter, Max Samples is ignored. For shaped emitters, it is the maximum number of objects spawned in a step.
virtual float getEmitDuration () const =0
 Gets the emitter duration in seconds.
virtual const EmitterLodParamDescgetLodParamDesc () const =0
 Gets LOD settings for this asset.

Detailed Description

APEX Emitter asset. Emits particles within some shape.


Member Function Documentation

virtual float nvidia::apex::EmitterAsset::getEmitDuration ( ) const [pure virtual]

Gets the emitter duration in seconds.

Note:
If EmitterActor::startEmit() is called with persistent=true, then this duration is ignored.

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.