Particle Universe
1.2
|
#include <ParticleUniverseSceneDecoratorExtern.h>
Public Member Functions | |
SceneDecoratorExtern (void) | |
virtual | ~SceneDecoratorExtern (void) |
virtual void | _prepare (ParticleTechnique *technique) |
virtual void | _unprepare (ParticleTechnique *technique) |
virtual void | _interface (ParticleTechnique *technique, Particle *particle, Real timeElapsed) |
void | createEntity (void) |
void | destroyEntity (void) |
const String & | getMeshName (void) const |
void | setMeshName (const String &meshName) |
const String & | getMaterialName (void) const |
void | setMaterialName (const String &materialName) |
const Vector3 & | getScale (void) const |
void | setScale (Vector3 &scale) |
const Vector3 & | getPosition (void) const |
void | setPosition (Vector3 &position) |
virtual void | _notifyStart (void) |
virtual void | _notifyStop (void) |
virtual void | copyAttributesTo (Extern *externObject) |
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 | copyParentAttributesTo (Extern *externObject) |
virtual void | _notifyPause (void) |
virtual void | _notifyResume (void) |
virtual void | _preProcessParticles (ParticleTechnique *technique, Real timeElapsed) |
virtual void | _initParticleForEmission (Particle *particle) |
virtual void | _initParticleForExpiration (Particle *particle) |
virtual void | _firstParticle (ParticleTechnique *particleTechnique, Particle *particle, Real timeElapsed) |
virtual void | _processParticle (ParticleTechnique *technique, Particle *particle, Real timeElapsed, bool firstParticle) |
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) |
Protected Attributes | |
bool | mEntitySet |
Ogre::Entity * | mEntity |
String | mMeshName |
String | mEntityName |
String | mMaterialName |
bool | mMaterialNameSet |
Vector3 | mScale |
Vector3 | mPosition |
Ogre::SceneNode * | mSubnode |
unsigned int | mCount |
Protected Attributes inherited from ParticleUniverse::Extern | |
String | mExternType |
String | mName |
ParticleTechnique * | mParentTechnique |
Vector3 | _mExternScale |
Protected Attributes inherited from ParticleUniverse::IAlias | |
String | mAliasName |
AliasType | mAliasType |
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 } |
The SceneDecoratorExtern is a test class that can be used to add additional objects to the scene. This allows quick prototyping, but it it not really usable in a real situation.
ParticleUniverse::SceneDecoratorExtern::SceneDecoratorExtern | ( | void | ) |
|
inlinevirtual |
|
virtual |
Implements ParticleUniverse::Extern.
|
virtual |
See Extern::_notifyStart.
Reimplemented from ParticleUniverse::Extern.
|
virtual |
See Extern::_notifyStop.
Reimplemented from ParticleUniverse::Extern.
|
virtual |
see Extern::_prepare
Implements ParticleUniverse::Extern.
|
virtual |
Reimplemented from ParticleUniverse::Extern.
|
virtual |
See Extern:copyAttributesTo
Reimplemented from ParticleUniverse::Extern.
void ParticleUniverse::SceneDecoratorExtern::createEntity | ( | void | ) |
Create the desired entity
void ParticleUniverse::SceneDecoratorExtern::destroyEntity | ( | void | ) |
Destroy the entity again
const String& ParticleUniverse::SceneDecoratorExtern::getMaterialName | ( | void | ) | const |
Return the name of the material used for the entity.
const String& ParticleUniverse::SceneDecoratorExtern::getMeshName | ( | void | ) | const |
Return the name of the mesh
const Vector3& ParticleUniverse::SceneDecoratorExtern::getPosition | ( | void | ) | const |
Returns the position value to which the node must be set.
const Vector3& ParticleUniverse::SceneDecoratorExtern::getScale | ( | void | ) | const |
Returns the scale value to which the node must be set.
void ParticleUniverse::SceneDecoratorExtern::setMaterialName | ( | const String & | materialName | ) |
Set the name of the material used for the entity.
void ParticleUniverse::SceneDecoratorExtern::setMeshName | ( | const String & | meshName | ) |
Set the name of the mesh
void ParticleUniverse::SceneDecoratorExtern::setPosition | ( | Vector3 & | position | ) |
Sets the position value to which the node must be set.
void ParticleUniverse::SceneDecoratorExtern::setScale | ( | Vector3 & | scale | ) |
Sets the scale value to which the node must be set.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |