Particle Universe
1.2
|
#include <ParticleUniverseOnQuotaObserver.h>
Public Member Functions | |
OnQuotaObserver (void) | |
virtual | ~OnQuotaObserver (void) |
virtual bool | _observe (ParticleTechnique *particleTechnique, Particle *particle, Real timeElapsed) |
virtual void | _postProcessParticles (ParticleTechnique *particleTechnique, Real timeElapsed) |
Public Member Functions inherited from ParticleUniverse::ParticleObserver | |
ParticleObserver (void) | |
virtual | ~ParticleObserver (void) |
const String & | getObserverType (void) const |
void | setObserverType (const String &observerType) |
virtual bool | isEnabled (void) const |
bool | _getOriginalEnabled (void) const |
virtual void | setEnabled (bool enabled) |
void | _resetEnabled (void) |
ParticleTechnique * | getParentTechnique (void) const |
void | setParentTechnique (ParticleTechnique *parentTechnique) |
const String & | getName (void) const |
void | setName (const String &name) |
const Particle::ParticleType & | getParticleTypeToObserve (void) const |
void | setParticleTypeToObserve (const Particle::ParticleType particleTypeToObserve) |
virtual void | _notifyStart (void) |
virtual void | _notifyStop (void) |
virtual void | _notifyRescaled (const Vector3 &scale) |
virtual void | _preProcessParticles (ParticleTechnique *technique, Real timeElapsed) |
virtual void | _processParticle (ParticleTechnique *particleTechnique, Particle *particle, Real timeElapsed, bool firstParticle) |
virtual void | _firstParticle (ParticleTechnique *particleTechnique, Particle *particle, Real timeElapsed) |
ParticleEventHandler * | createEventHandler (const String &eventHandlerType) |
void | addEventHandler (ParticleEventHandler *eventHandler) |
void | removeEventHandler (ParticleEventHandler *eventHandler) |
ParticleEventHandler * | getEventHandler (size_t index) const |
ParticleEventHandler * | getEventHandler (const String &eventHandlerName) const |
size_t | getNumEventHandlers (void) const |
void | destroyEventHandler (ParticleEventHandler *eventHandler) |
void | destroyEventHandler (size_t index) |
void | destroyAllEventHandlers (void) |
virtual void | copyAttributesTo (ParticleObserver *observer) |
virtual void | copyParentAttributesTo (ParticleObserver *observer) |
Real | getObserverInterval (void) const |
void | setObserverInterval (Real observerInterval) |
bool | getObserveUntilEvent (void) const |
void | setObserveUntilEvent (bool observeUntilEvent) |
bool | isParticleTypeToObserveSet (void) const |
Public Member Functions inherited from ParticleUniverse::IAlias | |
IAlias (void) | |
virtual | ~IAlias (void) |
const String & | getAliasName (void) const |
void | setAliasName (String aliasName) |
const AliasType | getAliasType (void) const |
void | setAliasType (AliasType aliasType) |
Public Member Functions inherited from ParticleUniverse::IElement | |
IElement (void) | |
virtual | ~IElement (void) |
Protected Attributes | |
bool | mResult |
Protected Attributes inherited from ParticleUniverse::ParticleObserver | |
ParticleTechnique * | mParentTechnique |
String | mObserverType |
String | mName |
bool | mEnabled |
bool | mOriginalEnabled |
bool | mOriginalEnabledSet |
bool | mObserve |
bool | mObserveUntilEvent |
bool | mEventHandlersExecuted |
Vector3 | _mObserverScale |
Particle::ParticleType | mParticleTypeToObserve |
bool | mParticleTypeToObserveSet |
ParticleEventHandlerList | mEventHandlers |
Real | mObserverInterval |
Real | mObserverIntervalRemainder |
bool | mObserverIntervalSet |
Protected Attributes inherited from ParticleUniverse::IAlias | |
String | mAliasName |
AliasType | mAliasType |
This class is used to observe whether all particles or all particles of a specific type are emitted.
|
inline |
|
inlinevirtual |
|
virtual |
Perform activities when a ParticleTechnique is started.
Implements ParticleUniverse::ParticleObserver.
|
virtual |
Perform activities when a ParticleTechnique is started.
Reimplemented from ParticleUniverse::ParticleObserver.
|
protected |