29 #ifndef _Backlight_H__ 30 #define _Backlight_H__ 48 virtual void tick(
float dt)
override;
49 virtual void changedVisibility()
override;
52 { this->width_ = width; this->update_width(); }
54 {
return this->width_; }
57 { this->lifetime_ = lifetime; this->update_lifetime(); }
59 {
return this->lifetime_; }
62 { this->length_ = length; this->update_length(); }
64 {
return this->length_; }
67 { this->maxelements_ = maxelements; this->update_maxelements(); }
69 {
return this->maxelements_; }
72 { this->trailmaterial_ = material; this->update_trailmaterial(); }
74 {
return this->trailmaterial_; }
76 virtual void changedScale()
override;
79 virtual void changedTimeFactor(
float factor_new,
float factor_old)
override;
82 void registerVariables();
83 virtual void startturnonoff()
override;
84 virtual void stopturnonoff()
override;
85 virtual void poststopturnonoff()
override;
86 virtual void changedColour()
override;
88 void update_lifetime();
90 void update_maxelements();
91 void update_trailmaterial();
Definition: FadingBillboard.h:41
float getLifetime() const
Definition: Backlight.h:58
Ogre::SceneNode * ribbonTrailNode_
Definition: Backlight.h:94
::std::string string
Definition: gtest-port.h:756
void setMaxElements(size_t maxelements)
Definition: Backlight.h:66
std::string trailmaterial_
Definition: Backlight.h:99
void setLength(float length)
Definition: Backlight.h:61
xmlelement
Definition: Super.h:519
size_t getMaxElements() const
Definition: Backlight.h:68
const std::string & getTrailMaterial() const
Definition: Backlight.h:73
void setTrailMaterial(const std::string &material)
Definition: Backlight.h:71
size_t maxelements_
Definition: Backlight.h:98
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
float getLength() const
Definition: Backlight.h:63
Mode
Definition: CorePrereqs.h:102
Shared library macros, enums, constants and forward declarations for the orxonox library ...
void setWidth(float width)
Definition: Backlight.h:51
float getWidth() const
Definition: Backlight.h:53
char tickcount_
Definition: Backlight.h:100
#define _OrxonoxExport
Definition: OrxonoxPrereqs.h:60
Definition: Backlight.h:40
float width_
Definition: Backlight.h:95
Ogre::RibbonTrail * ribbonTrail_
Definition: Backlight.h:93
void setLifetime(float lifetime)
Definition: Backlight.h:56
Definition: TimeFactorListener.h:37
float lifetime_
Definition: Backlight.h:97
float length_
Definition: Backlight.h:96