![]() |
V-Gears 0
Free Final Fantasy VII engine.
|
A visual particle. More...
#include <ParticleVisual.h>
Public Member Functions | |
VisualParticle () | |
Constructor. More... | |
virtual | ~VisualParticle () |
Destructor. More... | |
virtual void | InitForExpiration () |
Initializes the particle for expiration. More... | |
![]() | |
Particle () | |
Constructor. More... | |
virtual | ~Particle ()=0 |
Destructor. More... | |
virtual void | InitForEmission () |
Initializes the particle. More... | |
virtual void | InitForExpiration () |
Initializes the particle. More... | |
virtual void | Update (Ogre::Real time_elapsed) |
Updates the particle. More... | |
virtual void | CopyAttributesTo (Particle *particle) |
Copies the particle attributes to another particle. More... | |
ParticleType | GetParticleType () const |
Retrieves the particle type. More... | |
void | SetParentEmitter (ParticleEmitter *parent_emitter) |
Sets the particle emitter. More... | |
ParticleEmitter * | GetParentEmitter () const |
Retrieves the particle emitter. More... | |
void | SetEnabled (bool enabled) |
Enables or disables the particle. More... | |
bool | IsEnabled () const |
Checks if the particle is enabled. More... | |
void | SetEmittable (bool emittable) |
Toggles the particle emitability. More... | |
bool | IsEmittable () const |
Checks if the particle can be emitted. More... | |
Additional Inherited Members | |
![]() | |
enum | ParticleType { PT_VISUAL , PT_EMITTER } |
Types of particles. More... | |
![]() | |
ParticleAdditionalData * | additional_data |
Additional data for the particle. More... | |
Ogre::Vector3 | position |
The particle position. More... | |
Ogre::Vector3 | direction |
The direction that the particle is or will be emitted to. More... | |
float | time_to_live |
The particle duration. More... | |
float | total_time_to_live |
The particle duration. More... | |
![]() | |
ParticleEmitter * | parent_emitter_ |
The particle emitter. More... | |
ParticleType | particle_type_ |
The particle type. More... | |
bool | enabled_ |
Indicates if the particle is enabled. More... | |
bool | emittable_ |
Indicates if the particl can be emitted. More... | |
A visual particle.
VisualParticle::VisualParticle | ( | ) |
Constructor.
|
inlinevirtual |
Destructor.
|
virtual |
Initializes the particle for expiration.
Reimplemented from Particle.