1 #ifndef OPENMW_COMPONENTS_SCENEUTIL_LIGHTCONTROLLER_H
2 #define OPENMW_COMPONENTS_SCENEUTIL_LIGHTCONTROLLER_H
4 #include <osg/NodeCallback>
29 virtual void operator()(osg::Node* node, osg::NodeVisitor* nv);
float mDeltaCount
Definition: lightcontroller.hpp:35
void setDiffuse(const osg::Vec4f &color)
Definition: lightcontroller.cpp:128
virtual void operator()(osg::Node *node, osg::NodeVisitor *nv)
Definition: lightcontroller.cpp:61
double mLastTime
Definition: lightcontroller.hpp:37
Definition: lightcontroller.hpp:16
LightType mType
Definition: lightcontroller.hpp:32
LightType
Definition: lightcontroller.hpp:15
void setType(LightType type)
Definition: lightcontroller.cpp:56
Definition: lightcontroller.hpp:18
Definition: lightcontroller.hpp:20
float mPhase
Definition: lightcontroller.hpp:34
Definition: lightcontroller.hpp:19
Definition: lightcontroller.hpp:17
Controller class to handle a pulsing and/or flickering light.
Definition: lightcontroller.hpp:12
int mDirection
Definition: lightcontroller.hpp:36
osg::Vec4f mDiffuseColor
Definition: lightcontroller.hpp:33
LightController()
Definition: lightcontroller.cpp:47