Particle Universe
1.2
|
#include <ParticleUniversePhysicsExtern.h>
Public Member Functions | |
PhysicsExtern (void) | |
virtual | ~PhysicsExtern (void) |
virtual void | _initParticleForEmission (Particle *particle)=0 |
virtual void | _initParticleForExpiration (Particle *particle)=0 |
Public Member Functions inherited from ParticleUniverse::Extern | |
Extern (void) | |
virtual | ~Extern (void) |
const String & | getName (void) const |
void | setName (const String &name) |
const String & | getExternType (void) const |
void | setExternType (const String &externType) |
ParticleTechnique * | getParentTechnique (void) const |
void | setParentTechnique (ParticleTechnique *parentTechnique) |
virtual void | _notifyRescaled (const Vector3 &scale) |
virtual void | copyAttributesTo (Extern *externObject) |
virtual void | copyParentAttributesTo (Extern *externObject) |
virtual void | _prepare (ParticleTechnique *technique)=0 |
virtual void | _unprepare (ParticleTechnique *particleTechnique) |
virtual void | _notifyStart (void) |
virtual void | _notifyPause (void) |
virtual void | _notifyResume (void) |
virtual void | _notifyStop (void) |
virtual void | _preProcessParticles (ParticleTechnique *technique, Real timeElapsed) |
virtual void | _firstParticle (ParticleTechnique *particleTechnique, Particle *particle, Real timeElapsed) |
virtual void | _processParticle (ParticleTechnique *technique, Particle *particle, Real timeElapsed, bool firstParticle) |
virtual void | _interface (ParticleTechnique *technique, Particle *particle, Real timeElapsed)=0 |
virtual void | _postProcessParticles (ParticleTechnique *technique, Real timeElapsed) |
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) |
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::Extern | |
String | mExternType |
String | mName |
ParticleTechnique * | mParentTechnique |
Vector3 | _mExternScale |
Protected Attributes inherited from ParticleUniverse::IAlias | |
String | mAliasName |
AliasType | mAliasType |
PhysicsExtern is a pure virtual class that must be subclassed. The child class forms the connection between Particle Universe and the physics engine.
|
inline |
|
inlinevirtual |
|
pure virtual |
As soon as a particle is emitted it can be processed by the PhysicsExtern. One of the actions is to assign a PhysicsActor and shape to the particle.
Reimplemented from ParticleUniverse::Extern.
|
pure virtual |
As soon as a particle is expired it can be processed by the PhysicsExtern. One of the actions is to remove a PhysicsActor from the particle.
Reimplemented from ParticleUniverse::Extern.