This class defines how particles of a given particle effect spawn.
More...
#include <particleemitter.h>
This class defines how particles of a given particle effect spawn.
Definition at line 61 of file particleemitter.h.
Mezzanine::Graphics::ParticleEmitter::ParticleEmitter |
( |
Ogre::ParticleEmitter * |
InternalEmitter, |
|
|
ParticleSystemProxy * |
Creator |
|
) |
| |
Internal Class constructor.
- Parameters
-
InternalEmitter | A pointer to the internal emitter providing this class' functionality. |
Creator | A pointer to the particle system that created this emitter. |
Definition at line 56 of file particleemitter.cpp.
Ogre::ParticleEmitter * Mezzanine::Graphics::ParticleEmitter::_GetGraphicsEmitter |
( |
) | |
const |
|
virtual |
Accessor for the internal particle emitter.
- Returns
- Returns a pointer to the internal particle emitter this proxy is based on.
Definition at line 170 of file particleemitter.cpp.
String Mezzanine::Graphics::ParticleEmitter::GetCustomParam |
( |
const String & |
Name) | |
const |
Gets a custom parameter of a particle emitter.
- Parameters
-
Name | The name of the parameter to fetch. |
Definition at line 73 of file particleemitter.cpp.
String Mezzanine::Graphics::ParticleEmitter::GetDerivedSerializableName |
( |
) | |
const |
|
virtual |
Gets the most derived serializable name of this WorldProxy.
- Note
- When creating a new WorldProxy class verify this method has a valid return for it in order for serialization to work properly.
- Returns
- Returns the name of the XML tag from the most derived class of "this".
Definition at line 161 of file particleemitter.cpp.
String Mezzanine::Graphics::ParticleEmitter::GetSerializableName |
( |
) | |
|
|
static |
Get the name of the the XML tag the proxy class will leave behind as its instances are serialized.
- Returns
- A string containing the name of this class.
Definition at line 164 of file particleemitter.cpp.
void Mezzanine::Graphics::ParticleEmitter::ProtoDeSerialize |
( |
const XML::Node & |
SelfRoot) | |
|
|
virtual |
Take the data stored in an XML Node and overwrite this object with it.
- Parameters
-
SelfRoot | An XML::Node containing the data to populate this class with. |
Definition at line 116 of file particleemitter.cpp.
void Mezzanine::Graphics::ParticleEmitter::ProtoDeSerializeCustomParameters |
( |
const XML::Node & |
SelfRoot) | |
|
|
virtual |
Take the data stored in an XML Node and overwrite the custom altered parameters of this object with it.
- Parameters
-
SelfRoot | An XML::Node containing the data to populate this class with. |
Definition at line 126 of file particleemitter.cpp.
void Mezzanine::Graphics::ParticleEmitter::ProtoSerialize |
( |
XML::Node & |
ParentNode) | |
const |
|
virtual |
Convert this class to an XML::Node ready for serialization.
- Parameters
-
ParentNode | The point in the XML hierarchy that all this renderable should be appended to. |
Definition at line 81 of file particleemitter.cpp.
void Mezzanine::Graphics::ParticleEmitter::ProtoSerializeCustomParameters |
( |
XML::Node & |
SelfRoot) | |
const |
|
virtual |
Convert the custom altered parameters of this class to an XML::Node ready for serialization.
- Parameters
-
SelfRoot | The root node containing all the serialized data for this instance. |
Definition at line 93 of file particleemitter.cpp.
void Mezzanine::Graphics::ParticleEmitter::SetCustomParam |
( |
const String & |
Name, |
|
|
const String & |
Value |
|
) |
| |
Sets a custom parameter of a particle emitter.
- Parameters
-
Name | The name of the parameter to alter. |
Value | The new value to set for the named parameter. |
Definition at line 67 of file particleemitter.cpp.
A cache containing all of the custom altered parameters of this particle emitter.
- Note
- Once we have a proper wrapper for particle systems (or our own implementation) this no longer needs to exist.
Definition at line 67 of file particleemitter.h.
Ogre::ParticleEmitter* Mezzanine::Graphics::ParticleEmitter::GraphicsEmitter |
|
protected |
The internal emitter class this class get's it functionality from.
Definition at line 70 of file particleemitter.h.
A pointer to the system that this emitter is emitting particles for.
Definition at line 73 of file particleemitter.h.
The documentation for this class was generated from the following files: