![]() |
Public API Reference |
Properties for particle system object. More...
#include <imesh/particles.h>
Public Member Functions | |
| virtual void | Advance (csTicks time)=0 |
| Advance the time of the particle system object by the given duration. | |
| virtual csParticle * | GetParticle (size_t index)=0 |
| Get a specific particle. | |
| virtual csParticleAux * | GetParticleAux (size_t index)=0 |
| Get the auxiliary data of a specific particle. | |
| virtual size_t | GetParticleCount () const =0 |
| Get number of particles currently in the system. | |
| virtual csParticleBuffer * | LockForExternalControl (size_t maxParticles)=0 |
| Lock the particles and take external control over them. | |
Properties for particle system object.
Definition at line 500 of file particles.h.
| virtual void iParticleSystem::Advance | ( | csTicks | time | ) | [pure virtual] |
Advance the time of the particle system object by the given duration.
This is useful to "fill" a particle system after its initial creation.
| virtual csParticle* iParticleSystem::GetParticle | ( | size_t | index | ) | [pure virtual] |
Get a specific particle.
| virtual csParticleAux* iParticleSystem::GetParticleAux | ( | size_t | index | ) | [pure virtual] |
Get the auxiliary data of a specific particle.
| virtual size_t iParticleSystem::GetParticleCount | ( | ) | const [pure virtual] |
Get number of particles currently in the system.
| virtual csParticleBuffer* iParticleSystem::LockForExternalControl | ( | size_t | maxParticles | ) | [pure virtual] |
Lock the particles and take external control over them.
The particle system will no more use the emitters and effectors, so the particles have to be animated manually.
| maxParticles | Amount of particles for which memory is allocated in the returned particles buffer. (The actual number of provided particles must be set there; obviously it can't exceed maxParticles.) |