|
wavelength 1.0.0
|
A flash at a gem, one particle that shrinks away. More...
#include <tnlflashfx.h>
Public Member Functions | |
| TnlFlashFX (RndParticleSys *pSys) | |
| Construct an idle flash. | |
| ~TnlFlashFX () | |
| Return the particle of a running flash. | |
| Particle * | Start (const Vector3 *pPos, float flSize, float flShrink) |
| Start the flash if it is idle. | |
| void | Stop () |
| Stop the flash at once. | |
| void | Poll (float flDelta) |
| Shrink the flash, and stop it once it has no size. | |
A flash at a gem, one particle that shrinks away.
The RTTI identifies the class, which is not polymorphic. The object is 0xc bytes. The tunnel keeps a pool of them on the particle system gem_flash.ps.
|
explicit |
Construct an idle flash.
| pSys | The particle system the flash draws with. |
| TnlFlashFX::~TnlFlashFX | ( | ) |
Return the particle of a running flash.
Start the flash if it is idle.
| pPos | The position of the flash. |
| flSize | The size the flash starts at. |
| flShrink | The size the flash loses per unit of time. |
| void TnlFlashFX::Stop | ( | ) |
Stop the flash at once.
| void TnlFlashFX::Poll | ( | float | flDelta | ) |
Shrink the flash, and stop it once it has no size.
| flDelta | The time since the last update. |