ParticleEmitter3.h
Go to the documentation of this file.
std::function< void(ParticleEmitter3 *, double, double)> OnBeginUpdateCallback
Callback function type for update calls.
Definition: ParticleEmitter3.h:28
Abstract base class for 3-D particle emitter.
Definition: ParticleEmitter3.h:19
std::shared_ptr< ParticleEmitter3 > ParticleEmitter3Ptr
Shared pointer for the ParticleEmitter3 type.
Definition: ParticleEmitter3.h:71
virtual void OnUpdate(double currentTimeInSeconds, double timeIntervalInSeconds)=0
Called when ParticleEmitter3::Update is executed.
std::shared_ptr< ParticleSystemData3 > ParticleSystemData3Ptr
Shared pointer type of ParticleSystemData3.
Definition: ParticleSystemData3.h:250
const ParticleSystemData3Ptr & GetTarget() const
Returns the target particle system to emit.
void Update(double currentTimeInSeconds, double timeIntervalInSeconds)
void SetOnBeginUpdateCallback(const OnBeginUpdateCallback &callback)
Sets the callback function to be called when ParticleEmitter3::Update function is invoked...
Definition: pybind11Utils.h:24
void SetTarget(const ParticleSystemData3Ptr &particles)
Sets the target particle system to emit.
virtual void OnSetTarget(const ParticleSystemData3Ptr &particles)
Called when ParticleEmitter3::SetTarget is executed.