V-Gears 0
Free Final Fantasy VII engine.
VisualParticle Class Reference

A visual particle. More...

#include <ParticleVisual.h>

Inheritance diagram for VisualParticle:
Collaboration diagram for VisualParticle:

Public Member Functions

 VisualParticle ()
 Constructor. More...
 
virtual ~VisualParticle ()
 Destructor. More...
 
virtual void InitForExpiration ()
 Initializes the particle for expiration. More...
 
- Public Member Functions inherited from Particle
 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...
 
ParticleEmitterGetParentEmitter () 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

- Public Types inherited from Particle
enum  ParticleType { PT_VISUAL , PT_EMITTER }
 Types of particles. More...
 
- Public Attributes inherited from Particle
ParticleAdditionalDataadditional_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...
 
- Protected Attributes inherited from Particle
ParticleEmitterparent_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...
 

Detailed Description

A visual particle.

Constructor & Destructor Documentation

◆ VisualParticle()

VisualParticle::VisualParticle ( )

Constructor.

◆ ~VisualParticle()

virtual VisualParticle::~VisualParticle ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ InitForExpiration()

void VisualParticle::InitForExpiration ( )
virtual

Initializes the particle for expiration.

Reimplemented from Particle.


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