SPIN Framework
|
#include <Fog.h>
Public Member Functions | |
Fog (SceneManager *sceneManager, const char *initID) | |
~Fog () | |
const char * | getPath () const |
void | setFogDensity (float density) |
float | getFogDensity () const |
void | setFogColor (float r, float g, float b, float a) |
osg::Vec4 | getFogColor () const |
virtual std::vector< lo_message > | getState () const |
Basic GL Fog node.
spin::Fog::~Fog | ( | ) |
FIXME: should be virtual
osg::Vec4 spin::Fog::getFogColor | ( | ) | const |
Returns fog color
float spin::Fog::getFogDensity | ( | ) | const |
Get fog density (good values are around 0.001 - 0.1)
const char* spin::Fog::getPath | ( | ) | const [inline] |
need to implement abstract method... ?!
std::vector< lo_message > spin::Fog::getState | ( | ) | const [virtual] |
must reimplement
Reimplemented from spin::ReferencedStateSet.
void spin::Fog::setFogColor | ( | float | r, |
float | g, | ||
float | b, | ||
float | a | ||
) |
Set fog color in RGBA value.
void spin::Fog::setFogDensity | ( | float | density | ) |
Set fog density (good values are around 0.001 - 0.1)