Vertices Engine
v1.9.2.92
A Cross Platform game engine developed by Virtex Edge Design.
|
The particle system instance. More...
Public Member Functions | |
void | CreatePool< T > (int poolSize) |
Creates a pool of particle type 'T' of size 'n'. | |
T | Spawn< T > (vxGameObject emitter) |
Spawns a particle of type T. | |
Properties | |
static vxParticleSystem | Instance [get] |
The particle system singleton. | |
The particle system instance.
void VerticesEngine.Particles.vxParticleSystem.CreatePool< T > | ( | int | poolSize | ) |
Creates a pool of particle type 'T' of size 'n'.
How to use the Particle System Create Pool method. This should eb used in the 'LoadParticlePool()' method in your Scene.
T | The type of particle. It must implement the vxIParticle interface |
poolSize | The number of particles in this pool size |
T | : | vxIParticle |
T VerticesEngine.Particles.vxParticleSystem.Spawn< T > | ( | vxGameObject | emitter | ) |
Spawns a particle of type T.
How to use the Spawn method.
T | Spawns a of particle. It must implement the vxIParticle interface |
emitter |
T | : | vxIParticle |