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&

Returns the particle system’s name.

const std::wstring&

GetName () const

Vec3 &

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

Copied!

ParticleSystem (const ParticleSpawnerDesc & particleSpawnerDesc)

Construction from passed in ParticleSpawnerDesc.


Methods

Update

Copied!

void Update (double deltaTime)

Particle system update. Called once per frame.


GetName

Copied!

std::wstring& GetName ()

Returns the particle system’s name.


GetPosition

Copied!

Vec3 & GetPosition ()

Returns the particle system’s position.