wavelength 1.0.0
Loading...
Searching...
No Matches
SubstepParticles Class Reference

Particle system that emits in several steps along the path its transform moved since the last update, so that a fast move leaves an even trail. More...

#include <substepparticles.h>

Public Member Functions

 SubstepParticles (int nSteps, RndParticleSys *pSys)
 Construct the steps of a particle system.
void Reset ()
 Forget the last update, so the next one only records the position.
void SetSteps (int nSteps)
 Set the number of steps of an update.
void Update (float fFrame, float fTime)
 Pose the particle system and emit its particles in steps since the last update.
RndParticleSys * GetSys () const
void SetSys (RndParticleSys *pSys)

Detailed Description

Particle system that emits in several steps along the path its transform moved since the last update, so that a fast move leaves an even trail.

The class is not polymorphic, and the name is inferred. The object is 0x28 bytes.

Constructor & Destructor Documentation

◆ SubstepParticles()

SubstepParticles::SubstepParticles ( int nSteps,
RndParticleSys * pSys )

Construct the steps of a particle system.

Parameters
nStepsThe number of steps of an update.
pSysThe particle system.
Ghidra address:
NTSC-U/C: 0x001e3978
Ghidra address:
PAL: 0x001ec718

Member Function Documentation

◆ Reset()

void SubstepParticles::Reset ( )

Forget the last update, so the next one only records the position.

Ghidra address:
NTSC-U/C: 0x001e39b8
Ghidra address:
PAL: 0x001ec758

◆ SetSteps()

void SubstepParticles::SetSteps ( int nSteps)

Set the number of steps of an update.

Parameters
nStepsThe number of steps.
Ghidra address:
NTSC-U/C: 0x001e39d0
Ghidra address:
PAL: 0x001ec770

◆ Update()

void SubstepParticles::Update ( float fFrame,
float fTime )

Pose the particle system and emit its particles in steps since the last update.

Parameters
fFrameThe frame of the particle system.
fTimeThe time of the update.
Ghidra address:
NTSC-U/C: 0x001e39f8
Ghidra address:
PAL: 0x001ec798

◆ GetSys()

RndParticleSys * SubstepParticles::GetSys ( ) const
inline
Returns
The particle system.

◆ SetSys()

void SubstepParticles::SetSys ( RndParticleSys * pSys)
inline
Parameters
pSysThe particle system.

The documentation for this class was generated from the following file: