wavelength 1.0.0
Loading...
Searching...
No Matches
tnlflashfx.h
Go to the documentation of this file.
1#pragma once
2
3#include "math/vector3.h"
5
13public:
21 explicit TnlFlashFX(RndParticleSys *pSys);
22
30
41 Particle *Start(const Vector3 *pPos, float flSize, float flShrink);
42
49 void Stop();
50
58 void Poll(float flDelta);
59
60private:
61 RndParticleSys *mSys;
62 Particle *mParticle;
63 float mShrink;
64};
Emitter that spawns, moves, and fades a population of particles.
Definition rndparticlesys.h:69
void Poll(float flDelta)
Shrink the flash, and stop it once it has no size.
~TnlFlashFX()
Return the particle of a running flash.
TnlFlashFX(RndParticleSys *pSys)
Construct an idle flash.
void Stop()
Stop the flash at once.
Particle * Start(const Vector3 *pPos, float flSize, float flShrink)
Start the flash if it is idle.
One particle of a RndParticleSys pool.
Definition rndparticlesys.h:27
Three-component vector, padded to a PlayStation 2 quadword.
Definition vector3.h:14