#include <ParticleSystem.h>
Inherits Object.
Inheritance diagram for ParticleSystem:


Public Types | |
| enum | BlendType { Smoke, Glow } |
Public Methods | |
| ParticleSystem (unsigned int maxSize=100) | |
| ParticleSystem (const Vertex3 &pos, unsigned int maxSize=100) | |
| virtual | ~ParticleSystem () |
| unsigned int | getSize () const |
| void | setSize (unsigned int maxSize) |
| const Color4 & | getColor () const |
| float | getAngle () const |
| void | setAngle (float a) |
| float | getLife () const |
| void | setLife (float life) |
| void | setColor (const Color4 &c) |
| bool | getGravity () const |
| void | setGravity (bool b) |
| BlendType | getBlendType () const |
| void | setBlendType (BlendType b) |
| const Vertex3 & | getPosition () const |
| void | setPosition (const Vertex3 &p) |
| Vertex3 | getDirection () const |
| void | setDirection (const Vertex3 &d) |
| bool | update (World &world) |
| void | render (RenderContext &rc, RenderContext::Visibility visibility=RenderContext::PartlyVisible) |
| void | write (WDFFile &f) |
| void | read (WDFFile &f) |