class ParticleSystem
Represents a run-time particle spawning system as defined by a ParticleSpawnerDesc
.
File location: framework/cauldron/framework/inc/render/particle.h
Construction
Return type |
Description |
---|---|
ParticleSystem (const ParticleSpawnerDesc & particleSpawnerDesc)
Construction from passed in “ParticleSpawnerDesc“.
|
Methods
Return type |
Description |
---|---|
void |
Update (double deltaTime)
Particle system update. Called once per frame.
|
std::wstring& |
GetName ()
Returns the particle system’s name.
|
const std::wstring& |
GetName () const
|
Vec3 & |
GetPosition ()
Returns the particle system’s position.
|
const Vec3 & |
GetPosition () const
|
Detailed description
Represents a run-time particle spawning system as defined by a ParticleSpawnerDesc
.
Construction
ParticleSystem
ParticleSystem (const ParticleSpawnerDesc & particleSpawnerDesc)
Construction from passed in ParticleSpawnerDesc
.
Methods
Update
Particle system update. Called once per frame.
GetName
Returns the particle system’s name.
GetPosition
Vec3 & GetPosition ()
Returns the particle system’s position.