Particle Universe
1.2
|
#include <ParticleUniverseSlaveBehaviour.h>
Public Member Functions | |
SlaveBehaviour (void) | |
virtual | ~SlaveBehaviour (void) |
virtual void | _processParticle (ParticleTechnique *technique, Particle *particle, Real timeElapsed) |
virtual void | copyAttributesTo (ParticleBehaviour *behaviour) |
Public Member Functions inherited from ParticleUniverse::ParticleBehaviour | |
ParticleBehaviour (void) | |
virtual | ~ParticleBehaviour (void) |
const String & | getBehaviourType (void) const |
void | setBehaviourType (const String &behaviourType) |
ParticleTechnique * | getParentTechnique (void) const |
void | setParentTechnique (ParticleTechnique *parentTechnique) |
virtual void | _notifyRescaled (const Vector3 &scale) |
virtual void | _prepare (ParticleTechnique *technique) |
virtual void | _unprepare (ParticleTechnique *particleTechnique) |
virtual void | _initParticleForEmission (Particle *particle) |
virtual void | _initParticleForExpiration (ParticleTechnique *technique, Particle *particle, Real timeElapsed) |
virtual void | copyParentAttributesTo (ParticleBehaviour *behaviour) |
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) |
Public Attributes | |
Particle * | masterParticle |
Additional Inherited Members | |
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 Attributes inherited from ParticleUniverse::ParticleBehaviour | |
String | mBehaviourType |
ParticleTechnique * | mParentTechnique |
Vector3 | _mBehaviourScale |
Protected Attributes inherited from ParticleUniverse::IAlias | |
String | mAliasName |
AliasType | mAliasType |
The SlaveBehaviour makes the particle act as a slave, so it follows another particle to which it is related.
ParticleUniverse::SlaveBehaviour::SlaveBehaviour | ( | void | ) |
|
inlinevirtual |
|
virtual |
See ParticleBehaviour.
Implements ParticleUniverse::ParticleBehaviour.
|
virtual |
Copy attributes to another ParticleBehaviour.
Reimplemented from ParticleUniverse::ParticleBehaviour.
Particle* ParticleUniverse::SlaveBehaviour::masterParticle |