Go to the documentation of this file.
17 #ifndef IGNITION_RENDERING_OGRE2_OGRE2PARTICLEEMITTER_HH_
18 #define IGNITION_RENDERING_OGRE2_OGRE2PARTICLEEMITTER_HH_
29 inline namespace IGNITION_RENDERING_VERSION_NAMESPACE {
32 class Ogre2ParticleEmitterPrivate;
45 public:
void Destroy()
override;
48 public:
virtual void SetType(
const EmitterType _type)
override;
51 public:
virtual void SetEmitterSize(
55 public:
virtual void SetRate(
double _rate)
override;
58 public:
virtual void SetDuration(
double _duration)
override;
61 public:
virtual void SetEmitting(
bool _enable)
override;
64 public:
virtual void SetParticleSize(
68 public:
virtual void SetLifetime(
double _lifetime)
override;
71 public:
virtual void SetMaterial(
const MaterialPtr &_material)
override;
74 public:
virtual void SetVelocityRange(
double _minVelocity,
75 double _maxVelocity)
override;
78 public:
virtual void SetColorRange(
83 public:
virtual void SetScaleRate(
double _scaleRate)
override;
86 public:
virtual void SetColorRangeImage(
const std::string &_image)
93 protected:
virtual void Init()
override;
97 private:
void PreRenderImpl();
100 private:
void CreateParticleSystem();
static const uint32_t kParticleVisibilityFlags
Particle system visibility flags.
Definition: gz/rendering/ogre2/Ogre2ParticleEmitter.hh:90
A base implementation of the ParticleEmitter class.
Definition: gz/rendering/base/BaseParticleEmitter.hh:37
Ogre2.x implementation of the scene class.
Definition: gz/rendering/ogre2/Ogre2Scene.hh:57
Class to manage a particle emitter.
Definition: gz/rendering/ogre2/Ogre2ParticleEmitter.hh:35
EmitterType
Enum for emitter types.
Definition: gz/rendering/ParticleEmitter.hh:36