CubbyFlow::ParticleEmitterSet3 Class Referencefinal
3-D particle-based emitter set. More...
#include <Core/Emitter/ParticleEmitterSet3.hpp>
Inheritance diagram for CubbyFlow::ParticleEmitterSet3:
Classes | |
class | Builder |
Front-end to create ParticleEmitterSet3 objects step by step. More... | |
Public Member Functions | |
ParticleEmitterSet3 ()=default | |
Default constructor. More... | |
ParticleEmitterSet3 (std::vector< ParticleEmitter3Ptr > emitters) | |
Constructs an emitter with sub-emitters. More... | |
ParticleEmitterSet3 (const ParticleEmitterSet3 &)=default | |
Default copy constructor. More... | |
ParticleEmitterSet3 (ParticleEmitterSet3 &&) noexcept=default | |
Default move constructor. More... | |
~ParticleEmitterSet3 () override=default | |
Default virtual destructor. More... | |
ParticleEmitterSet3 & | operator= (const ParticleEmitterSet3 &)=default |
Default copy assignment operator. More... | |
ParticleEmitterSet3 & | operator= (ParticleEmitterSet3 &&) noexcept=default |
Default move assignment operator. More... | |
void | AddEmitter (const ParticleEmitter3Ptr &emitter) |
Adds sub-emitter. More... | |
Public Member Functions inherited from CubbyFlow::ParticleEmitter3 | |
ParticleEmitter3 ()=default | |
Default constructor. More... | |
ParticleEmitter3 (const ParticleEmitter3 &)=default | |
Default copy constructor. More... | |
ParticleEmitter3 (ParticleEmitter3 &&) noexcept=default | |
Default move constructor. More... | |
virtual | ~ParticleEmitter3 ()=default |
Default virtual destructor. More... | |
ParticleEmitter3 & | operator= (const ParticleEmitter3 &)=default |
Default copy assignment operator. More... | |
ParticleEmitter3 & | operator= (ParticleEmitter3 &&) noexcept=default |
Default move assignment operator. 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... | |
bool | GetIsEnabled () const |
Returns true if the emitter is enabled. More... | |
void | SetIsEnabled (bool enabled) |
Sets true/false to enable/disable the emitter. 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/4]
|
default |
Default constructor.
◆ ParticleEmitterSet3() [2/4]
|
explicit |
Constructs an emitter with sub-emitters.
◆ ParticleEmitterSet3() [3/4]
|
default |
Default copy constructor.
◆ ParticleEmitterSet3() [4/4]
|
defaultnoexcept |
Default move constructor.
◆ ~ParticleEmitterSet3()
|
overridedefault |
Default virtual destructor.
Member Function Documentation
◆ AddEmitter()
void CubbyFlow::ParticleEmitterSet3::AddEmitter | ( | const ParticleEmitter3Ptr & | emitter | ) |
Adds sub-emitter.
◆ GetBuilder()
|
static |
Returns builder fox ParticleEmitterSet3.
◆ operator=() [1/2]
|
default |
Default copy assignment operator.
◆ operator=() [2/2]
|
defaultnoexcept |
Default move assignment operator.
The documentation for this class was generated from the following file:
- Core/Emitter/ParticleEmitterSet3.hpp