GridEmitter2.hpp
Go to the documentation of this file.
32 std::function<void(GridEmitter2*, double, double)>;
std::function< void(GridEmitter2 *, double, double)> OnBeginUpdateCallback
Callback function type for update calls.
Definition: GridEmitter2.hpp:32
void Update(double currentTimeInSeconds, double timeIntervalInSeconds)
void SetOnBeginUpdateCallback(const OnBeginUpdateCallback &callback)
Sets the callback function to be called when GridEmitter2::Update function is invoked.
Abstract base class for 2-D grid-based emitters.
Definition: GridEmitter2.hpp:22
bool GetIsEnabled() const
Returns true if the emitter is enabled.
std::shared_ptr< GridEmitter2 > GridEmitter2Ptr
Shared pointer type for the GridEmitter2.
Definition: GridEmitter2.hpp:87
Definition: pybind11Utils.hpp:20
virtual void OnUpdate(double currentTimeInSeconds, double timeIntervalInSeconds)=0
void CallOnBeginUpdateCallback(double currentTimeInSeconds, double timeIntervalInSeconds)
void SetIsEnabled(bool enabled)
Sets true/false to enable/disable the emitter.