CubbyFlow::ParticleEmitterSet3 Class Referencefinal
3-D particle-based emitter set. More...
#include <Core/Emitter/ParticleEmitterSet3.h>
Inheritance diagram for CubbyFlow::ParticleEmitterSet3:
Classes | |
class | Builder |
Front-end to create ParticleEmitterSet3 objects step by step. More... | |
Public Member Functions | |
ParticleEmitterSet3 () | |
Constructs an emitter. More... | |
ParticleEmitterSet3 (const std::vector< ParticleEmitter3Ptr > &emitters) | |
Constructs an emitter with sub-emitters. More... | |
virtual | ~ParticleEmitterSet3 () |
Destructor. More... | |
void | AddEmitter (const ParticleEmitter3Ptr &emitter) |
Adds sub-emitter. More... | |
Public Member Functions inherited from CubbyFlow::ParticleEmitter3 | |
ParticleEmitter3 () | |
Default constructor. More... | |
virtual | ~ParticleEmitter3 () |
Destructor. More... | |
void | Update (double currentTimeInSeconds, double timeIntervalInSeconds) |
const ParticleSystemData3Ptr & | GetTarget () const |
Returns the target particle system to emit. More... | |
void | SetTarget (const ParticleSystemData3Ptr &particles) |
Sets the target particle system to emit. More... | |
void | SetOnBeginUpdateCallback (const OnBeginUpdateCallback &callback) |
Sets the callback function to be called when ParticleEmitter3::Update function is invoked. More... | |
Static Public Member Functions | |
static Builder | GetBuilder () |
Returns builder fox ParticleEmitterSet3. More... | |
Additional Inherited Members | |
Public Types inherited from CubbyFlow::ParticleEmitter3 | |
using | OnBeginUpdateCallback = std::function< void(ParticleEmitter3 *, double, double)> |
Callback function type for update calls. More... | |
Detailed Description
3-D particle-based emitter set.
Constructor & Destructor Documentation
◆ ParticleEmitterSet3() [1/2]
CubbyFlow::ParticleEmitterSet3::ParticleEmitterSet3 | ( | ) |
Constructs an emitter.
◆ ParticleEmitterSet3() [2/2]
|
explicit |
Constructs an emitter with sub-emitters.
◆ ~ParticleEmitterSet3()
|
virtual |
Destructor.
Member Function Documentation
◆ AddEmitter()
void CubbyFlow::ParticleEmitterSet3::AddEmitter | ( | const ParticleEmitter3Ptr & | emitter | ) |
Adds sub-emitter.
◆ GetBuilder()
|
static |
Returns builder fox ParticleEmitterSet3.
The documentation for this class was generated from the following file:
- Core/Emitter/ParticleEmitterSet3.h