55 #error SoEmissiveColorElement is obsolete. See SoLazyElement instead.
57 #ifndef _SO_EMISSIVE_COLOR_ELEMENT
58 #define _SO_EMISSIVE_COLOR_ELEMENT
91 "multiple emissive colors not supported");
101 ece->saveState = state;
115 "multiple emissive colors not supported");
#define SoEXTENDER
Provide inline template functions for abs, swap, min, max, and clamp.
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
static void post(const char *methodName, const char *formatString ...)
Posts an error.
This class is being superceded by the SoLazyElement class.
int32_t getNum() const
Returns the number of emissive colors in any instance.
const SbColor & get(int index) const
Returns the current emissive color.
static SbColor getDefault()
Returns the default emissive color.
static void set(SoState *state, SoNode *, int32_t numColors, const SbColor *colors)
Sets the current emissive color(s)
static const SoEmissiveColorElement * getInstance(SoState *state)
Returns the top (current) instance of the element in the state.
static SbColor getDefaultEmissive()
static void setEmissive(SoState *state, const SbColor *color)
static const SbColor & getEmissive(SoState *)
Abstract base class for all database nodes.
An SoState collects and holds state while traversing a scene graph.