The DtEnvironmentInfo class is responsible for holding data related to the environment such as sky lighting and fog.
More...
The DtEnvironmentInfo class is responsible for holding data related to the environment such as sky lighting and fog.
| virtual makVrv::DtEnvironmentInfo::~DtEnvironmentInfo |
( |
| ) |
|
|
virtual |
| makVrv::DtEnvironmentInfo::DtEnvironmentInfo |
( |
| ) |
|
|
private |
Default constructor.
- Note
- Not implemented
Copy constructor.
- Note
- Not implemented
Get an instance of the DtEnvironmentInfo object.
- Parameters
-
| de | The display engine root for the singleton. |
| virtual osg::Vec3 makVrv::DtEnvironmentInfo::lightPosition |
( |
| ) |
|
|
virtual |
Returns the sky light position.
| virtual osg::Vec4 makVrv::DtEnvironmentInfo::ambientColor |
( |
| ) |
|
|
virtual |
Returns the sky light ambient color.
| virtual osg::Vec4 makVrv::DtEnvironmentInfo::diffuseColor |
( |
| ) |
|
|
virtual |
Returns the sky light diffuse color.
| virtual osg::Vec4 makVrv::DtEnvironmentInfo::fogColor |
( |
| ) |
|
|
virtual |
Returns the distance fog color.
| virtual float makVrv::DtEnvironmentInfo::fogDensity |
( |
| ) |
|
|
virtual |
Returns the distance fog density.
| virtual bool makVrv::DtEnvironmentInfo::heightFogEnable |
( |
| ) |
|
|
virtual |
Returns the height fog enabled state.
| virtual float makVrv::DtEnvironmentInfo::heightFogAltitude |
( |
| ) |
|
|
virtual |
Returns the height fog altitude.
| virtual float makVrv::DtEnvironmentInfo::heightFogDensity |
( |
| ) |
|
|
virtual |
Returns the height fog density.
| virtual osg::Vec4 makVrv::DtEnvironmentInfo::heightFogColor |
( |
| ) |
|
|
virtual |
Returns the height fog color.
| virtual void makVrv::DtEnvironmentInfo::setLightPosition |
( |
const osg::Vec3 & |
pos | ) |
|
|
virtual |
Sets the sky light position.
- Parameters
-
| virtual void makVrv::DtEnvironmentInfo::setAmbientColor |
( |
const osg::Vec4 & |
color | ) |
|
|
virtual |
Sets the sky light ambient color.
- Parameters
-
| virtual void makVrv::DtEnvironmentInfo::setDiffuseColor |
( |
const osg::Vec4 & |
color | ) |
|
|
virtual |
Sets the sky light diffuse color.
- Parameters
-
| virtual void makVrv::DtEnvironmentInfo::setFogColor |
( |
const osg::Vec4 & |
color | ) |
|
|
virtual |
Sets the distance fog color.
- Parameters
-
| virtual void makVrv::DtEnvironmentInfo::setFogDensity |
( |
float |
density | ) |
|
|
virtual |
Sets the distance fog density.
- Parameters
-
| density | The fog density value. |
| virtual void makVrv::DtEnvironmentInfo::setHeightFogEnable |
( |
bool |
enable | ) |
|
|
virtual |
Sets the height fog enable state.
- Parameters
-
| enable | Set to true to enable the height fog. |
| virtual void makVrv::DtEnvironmentInfo::setHeightFogAltitude |
( |
float |
altitude | ) |
|
|
virtual |
Sets the height fog altitude.
- Parameters
-
| altitude | The altitude (above sea level) to use. |
| virtual void makVrv::DtEnvironmentInfo::setHeightFogDensity |
( |
float |
density | ) |
|
|
virtual |
Sets the height fog density.
- Parameters
-
| density | The density to use for exp() falloff. |
| virtual void makVrv::DtEnvironmentInfo::setHeightFogColor |
( |
const osg::Vec4 & |
color | ) |
|
|
virtual |
Sets the height fog color.
- Parameters
-
| color | The base color used for height fog. |
Assignment Operator.
- Note
- Not implemented
| osg::Vec3 makVrv::DtEnvironmentInfo::myLightPosition |
|
protected |
| osg::Vec4 makVrv::DtEnvironmentInfo::myAmbientColor |
|
protected |
| osg::Vec4 makVrv::DtEnvironmentInfo::myDiffuseColor |
|
protected |
| osg::Vec4 makVrv::DtEnvironmentInfo::myFogColor |
|
protected |
| float makVrv::DtEnvironmentInfo::myFogDensity |
|
protected |
| bool makVrv::DtEnvironmentInfo::myHeightFogEnable |
|
protected |
| float makVrv::DtEnvironmentInfo::myHeightFogAltitude |
|
protected |
| float makVrv::DtEnvironmentInfo::myHeightFogDensity |
|
protected |
| osg::Vec4 makVrv::DtEnvironmentInfo::myHeightFogColor |
|
protected |
The documentation for this class was generated from the following file: