Particles Class Reference

Particles wraps a single ParticleSystem into a scenegraph node. More...

Inheritance diagram for Particles:
Node

List of all members.

Public Member Functions

 Particles (int max_particles)
 ParticleSystem constructor.
override void Update (float dt)
 The update function.
override void Draw ()
 The draw function.
void Dispose ()
 Dispose implementation.

Public Attributes

ParticleSystem ParticleSystem
 The actual ParticleSystem object used by this Particles node.

Detailed Description

Particles wraps a single ParticleSystem into a scenegraph node.


Constructor & Destructor Documentation

Particles ( int  max_particles)

ParticleSystem constructor.

Note that the constructor calls ScheduleUpdate().

Parameters:
max_particlesThe maximum number of particles for this particle system.