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