PointParticleEmitter2.hpp
Go to the documentation of this file.
std::shared_ptr< PointParticleEmitter2 > PointParticleEmitter2Ptr
Shared pointer for the PointParticleEmitter2 type.
Definition: PointParticleEmitter2.hpp:97
void SetMaxNumberOfNewParticlesPerSecond(size_t rate)
Sets max number of new particles per second.
2-D point particle emitter.
Definition: PointParticleEmitter2.hpp:26
PointParticleEmitter2(const Vector2D &origin, const Vector2D &direction, double speed, double spreadAngleInDegrees, size_t maxNumOfNewParticlesPerSec=1, size_t maxNumOfParticles=std::numeric_limits< size_t >::max(), uint32_t seed=0)
Definition: Matrix.hpp:27
Definition: pybind11Utils.hpp:20
void SetMaxNumberOfParticles(size_t maxNumberOfParticles)
Sets max number of particles to be emitted.
Definition: Array-Impl.hpp:19
Front-end to create PointParticleEmitter2 objects step by step.
Definition: PointParticleEmitter2.hpp:102
size_t GetMaxNumberOfNewParticlesPerSecond() const
Returns max number of new particles per second.
Abstract base class for 2-D particle emitter.
Definition: ParticleEmitter2.hpp:21
size_t GetMaxNumberOfParticles() const
Returns max number of particles to be emitted.
static Builder GetBuilder()
Returns builder fox PointParticleEmitter2.