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