|
wavelength 1.0.0
|
The flames of one particle system, scaled, coloured, and turned on and off by the fire. More...
#include <tnlfire.h>
Public Member Functions | |
| Emitter () | |
| Make an emitter of no system. | |
| ~Emitter () | |
| Give the system back its saved emission rates and force. | |
| void | Init (RndParticleSys *pSys, GfxTunnel *pTunnel) |
| Take a system, save its emission rates and its scaled force, scale its emission box, speed, and size to the panels, show it, and stop its emission. | |
| void | SetColor (const Color *pColor) |
| Colour the flames. | |
| void | Rotate (const Vector3 *pBasis) |
| Turn the saved force by a basis and give it to the system. | |
| void | Start () |
| Free the particles of the system and restart its emission at the saved rates. | |
| void | Stop () |
| Stop the emission of the system. | |
The flames of one particle system, scaled, coloured, and turned on and off by the fire.
The class is not polymorphic, and the name is inferred. The object is 0x20 bytes. It saves the emission rates of the system to stop and restart the emission, and it saves the force to turn it with the track.
| TnlFire::Emitter::Emitter | ( | ) |
Make an emitter of no system.
| TnlFire::Emitter::~Emitter | ( | ) |
Give the system back its saved emission rates and force.
| void TnlFire::Emitter::Init | ( | RndParticleSys * | pSys, |
| GfxTunnel * | pTunnel ) |
Take a system, save its emission rates and its scaled force, scale its emission box, speed, and size to the panels, show it, and stop its emission.
| pSys | The system. |
| pTunnel | The tunnel. The emitter does not read it. |
| void TnlFire::Emitter::SetColor | ( | const Color * | pColor | ) |
Colour the flames.
The particles start white and end in the colour, opaque at the start and clear at the end.
| pColor | The colour. |
| void TnlFire::Emitter::Rotate | ( | const Vector3 * | pBasis | ) |
Turn the saved force by a basis and give it to the system.
| pBasis | The three rows of the basis. |
| void TnlFire::Emitter::Start | ( | ) |
Free the particles of the system and restart its emission at the saved rates.
| void TnlFire::Emitter::Stop | ( | ) |
Stop the emission of the system.