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