class
#include <OE/Graphics/2D/ParticleEmitter.hpp>
ParticleEmitter
Contents
Constructors, destructors, conversion operators
- ParticleEmitter(ParticleSystem* system)
- ~ParticleEmitter()
Public functions
- void autoDeleteWhenDone()
- void emit(unsigned int particles)
- void setInitialLifetime(float lifetime)
-
void setPosition(const Math::
Vec2f& position) - void setSimulationSpace(SimulationSpace simulationSpace)
- void setLoop(bool loop)
- void setDuration(float duration)
- auto getTime() const -> float
- auto getDuration() const -> float
-
auto getPosition() const -> Math::
Vec2f - auto getParticles() const -> const std::vector<Particle*>&