The soenvironmentelement class is yet to be documented. fixme: write doc.
#include <Inventor/elements/SoEnvironmentElement.h>
Inherits SoReplacedElement.
Inherited by SoGLEnvironmentElement.
enum FogType { NONE, HAZE, FOG, SMOKE }
virtual void init (SoState *state)
FIXME: write doc. virtual void print (FILE *file) const
FIXME: write doc.
static SoType getClassTypeId (void)
static int getClassStackIndex (void)
static void * createInstance (void)
static void initClass (void)
static void set (SoState *const state, SoNode *const node, const float ambientIntensity, const SbColor &ambientColor, const SbVec3f &attenuation, const int32_t fogType, const SbColor &fogColor, const float fogVisibility, const float fogStart=0.0f)
FIXME: write doc. static void get (SoState *const state, float &ambientIntensity, SbColor &ambientColor, SbVec3f &attenuation, int32_t &fogType, SbColor &fogColor, float &fogVisibility, float &fogStart)
FIXME: write doc. static float getAmbientIntensity (SoState *const state)
FIXME: write doc. static float getFogVisibility (SoState *const state)
FIXME: write doc. static const SbVec3f & getLightAttenuation (SoState *const state)
FIXME: write doc. static const SbColor & getAmbientColor (SoState *const state)
FIXME: write doc. static const SbColor & getFogColor (SoState *const state)
FIXME: write doc. static int32_t getFogType (SoState *const state)
FIXME: write doc. static void getDefault (float &ambientIntensity, SbColor &ambientColor, SbVec3f &attenuation, int32_t &fogType, SbColor &fogColor, float &fogVisibility, float &fogNear)
FIXME: write doc.
virtual ~SoEnvironmentElement ()
virtual void setElt (SoState *const state, const float ambientIntensity, const SbColor &ambientColor, const SbVec3f &attenuation, const int32_t fogType, const SbColor &fogColor, const float fogVisibility, const float fogNear)
FIXME: doc.
float ambientIntensity
SbColor ambientColor
SbVec3f attenuation
int32_t fogType
SbColor fogColor
float fogVisibility
float fogStart
The SoEnvironmentElement class is yet to be documented.
FIXME: write doc.
FIXME: write doc.
The destructor.
This API member is considered internal to the library, as it is not likely to be of interest to the application programmer.
This static method initializes static data for the SoEnvironmentElement class.
FIXME: write doc.
FIXME: write doc.
FIXME: write doc.
FIXME: write doc.
FIXME: write doc.
FIXME: write doc.
FIXME: write doc.
Generated automatically by Doxygen for Coin from the source code.