Controller class to handle a pulsing and/or flickering light.
More...
#include <lightcontroller.hpp>
Controller class to handle a pulsing and/or flickering light.
- Note
- Must be set on a SceneUtil::LightSource.
| Enumerator |
|---|
| LT_Normal |
|
| LT_Flicker |
|
| LT_FlickerSlow |
|
| LT_Pulse |
|
| LT_PulseSlow |
|
| SceneUtil::LightController::LightController |
( |
| ) |
|
| void SceneUtil::LightController::operator() |
( |
osg::Node * |
node, |
|
|
osg::NodeVisitor * |
nv |
|
) |
| |
|
virtual |
| void SceneUtil::LightController::setDiffuse |
( |
const osg::Vec4f & |
color | ) |
|
| float SceneUtil::LightController::mDeltaCount |
|
private |
| osg::Vec4f SceneUtil::LightController::mDiffuseColor |
|
private |
| int SceneUtil::LightController::mDirection |
|
private |
| double SceneUtil::LightController::mLastTime |
|
private |
| float SceneUtil::LightController::mPhase |
|
private |
The documentation for this class was generated from the following files: