50#ifndef _SO_LIGHT_ATTENUATION_ELEMENT
51#define _SO_LIGHT_ATTENUATION_ELEMENT
98 virtual void print(FILE *fp)
const;
108 virtual SoElement* copyMatchInfo()
const;
117 static void initClass();
118 static void exitClass();
#define SoEXTENDER_Documented
#define SO_ELEMENT_HEADER(className)
Abstract base class for all state elements.
Stores the light attenuation(s) of the current environment.
static const SbVec3f & get(SoState *state)
Returns the current light attenuation from the state.
static void set(SoState *state, SoNode *node, const SbVec3f &attenuation)
Sets the current light attenuation(s).
static SbVec3f getDefault()
Returns the default light attenuation.
virtual void print(FILE *fp) const
Prints element (for debugging).
Abstract base class for all database nodes.
static SoNONUNICODE const SbVec3f & getVec3f(const char *name, const SbVec3f &defaultValue)
Returns the value of the specified environment variable in the Open Inventor environment,...
Abstract base class for each state element whose value is replaced whenever it is set.