29 #ifndef _ParticleInterface_H__ 30 #define _ParticleInterface_H__ 44 void setConfigValues();
47 {
return this->particleSystem_; }
49 Ogre::ParticleEmitter* createNewEmitter();
50 Ogre::ParticleEmitter* getEmitter(
unsigned int emitterNr)
const;
51 void removeEmitter(
unsigned int emitterNr);
52 void removeAllEmitters();
53 unsigned int getNumEmitters()
const;
55 Ogre::ParticleAffector* addAffector(
const std::string& name);
56 Ogre::ParticleAffector* getAffector(
unsigned int affectorNr);
57 void removeAffector(
unsigned int affectorNr);
58 void removeAllAffectors();
59 unsigned int getNumAffectors()
const;
62 {
return this->speedFactor_; }
63 void setSpeedFactor(
float factor);
64 bool getKeepParticlesInLocalSpace()
const;
65 void setKeepParticlesInLocalSpace(
bool keep);
67 void setEnabled(
bool enable);
69 {
return this->bEnabled_; }
71 void setVisible(
bool visible);
73 {
return this->bVisible_; }
75 void setDetailLevel(
unsigned int level);
77 void setDimensions(
float scale);
80 virtual void changedTimeFactor(
float factor_new,
float factor_old)
override;
83 void updateVisibility();
84 void detailLevelChanged();
bool bEnabled_
Definition: ParticleInterface.h:89
Ogre::ParticleSystem * getParticleSystem()
Definition: ParticleInterface.h:46
unsigned int globalDetailLevel_
Global maximum detail level of particle effects (0: off, 1: low, 2: normal, 3: high) ...
Definition: ParticleInterface.h:95
bool bVisible_
Definition: ParticleInterface.h:88
Ogre::SceneManager * scenemanager_
Definition: ParticleInterface.h:87
::std::string string
Definition: gtest-port.h:756
float speedFactor_
Definition: ParticleInterface.h:92
Ogre::ParticleSystem * particleSystem_
Definition: ParticleInterface.h:86
bool isEnabled() const
Definition: ParticleInterface.h:68
static unsigned int counter_s
Definition: ParticleInterface.h:97
Value
Definition: ToolsPrereqs.h:71
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
bool bAllowedByLOD_
Definition: ParticleInterface.h:90
bool isVisible() const
Definition: ParticleInterface.h:72
unsigned int detaillevel_
Detail level of this particle effect (0: off, 1: low, 2: normal, 3: high)
Definition: ParticleInterface.h:91
Definition: TimeFactorListener.h:37
Definition: ParticleInterface.h:39
float getSpeedFactor() const
Definition: ParticleInterface.h:61