Particle Universe
1.2
|
#include <ParticleUniverseOnPositionObserver.h>
Static Public Attributes | |
static const Vector3 | DEFAULT_POSITION_THRESHOLD |
Static Public Attributes inherited from ParticleUniverse::ParticleObserver | |
static const bool | DEFAULT_ENABLED |
static const Particle::ParticleType | DEFAULT_PARTICLE_TYPE |
static const Real | DEFAULT_INTERVAL |
static const bool | DEFAULT_UNTIL_EVENT |
Protected Attributes | |
Real | mPositionXThreshold |
Real | mPositionYThreshold |
Real | mPositionZThreshold |
bool | mPositionXThresholdSet |
bool | mPositionYThresholdSet |
bool | mPositionZThresholdSet |
ComparisionOperator | mComparePositionX |
ComparisionOperator | mComparePositionY |
ComparisionOperator | mComparePositionZ |
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 |
Additional Inherited Members | |
Public Types inherited from ParticleUniverse::ParticleObserver | |
typedef vector< ParticleEventHandler * >::iterator | ParticleEventHandlerIterator |
typedef vector< ParticleEventHandler * >::const_iterator | ParticleEventHandlerConstIterator |
typedef vector< ParticleEventHandler * > | ParticleEventHandlerList |
Public Types inherited from ParticleUniverse::IAlias | |
enum | AliasType { AT_UNDEFINED, AT_TECHNIQUE, AT_RENDERER, AT_EMITTER, AT_AFFECTOR, AT_OBSERVER, AT_EXTERN, AT_HANDLER, AT_BEHAVIOUR } |
Protected Member Functions inherited from ParticleUniverse::ParticleObserver | |
virtual void | _handleObserve (ParticleTechnique *particleTechnique, Particle *particle, Real timeElapsed) |
virtual void | _handleEvent (ParticleTechnique *particleTechnique, Particle *particle, Real timeElapsed) |
This class is used to observe whether a Particle reaches a certain position.
ParticleUniverse::OnPositionObserver::OnPositionObserver | ( | void | ) |
|
inlinevirtual |
|
virtual |
This function determines whether a condition (the event) is true or false.
Implements ParticleUniverse::ParticleObserver.
|
virtual |
Copy attributes to another observer.
Reimplemented from ParticleUniverse::ParticleObserver.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |