Particle Universe  1.2
ParticleUniverse::SlaveBehaviour Class Reference

#include <ParticleUniverseSlaveBehaviour.h>

Inheritance diagram for ParticleUniverse::SlaveBehaviour:

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 StringgetBehaviourType (void) const
 
void setBehaviourType (const String &behaviourType)
 
ParticleTechniquegetParentTechnique (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 StringgetAliasName (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

ParticlemasterParticle
 

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
 
ParticleTechniquemParentTechnique
 
Vector3 _mBehaviourScale
 
- Protected Attributes inherited from ParticleUniverse::IAlias
String mAliasName
 
AliasType mAliasType
 

Detailed Description

The SlaveBehaviour makes the particle act as a slave, so it follows another particle to which it is related.

Constructor & Destructor Documentation

ParticleUniverse::SlaveBehaviour::SlaveBehaviour ( void  )
virtual ParticleUniverse::SlaveBehaviour::~SlaveBehaviour ( void  )
inlinevirtual

Member Function Documentation

virtual void ParticleUniverse::SlaveBehaviour::_processParticle ( ParticleTechnique technique,
Particle particle,
Real  timeElapsed 
)
virtual
virtual void ParticleUniverse::SlaveBehaviour::copyAttributesTo ( ParticleBehaviour behaviour)
virtual

Copy attributes to another ParticleBehaviour.

Reimplemented from ParticleUniverse::ParticleBehaviour.

Member Data Documentation

Particle* ParticleUniverse::SlaveBehaviour::masterParticle

The documentation for this class was generated from the following file: