Stores emissive color of current material (superseded by SoLazyElement). More...
#include <Inventor/elements/SoEmissiveColorElement.h>
Public Member Functions | |
int32_t | getNum () const |
const SbColor & | get (int index) const |
Static Public Member Functions | |
static void | set (SoState *state, SoNode *, int32_t numColors, const SbColor *colors) |
static const SoEmissiveColorElement * | getInstance (SoState *state) |
static SbColor | getDefault () |
Stores emissive color of current material (superseded by SoLazyElement).
This class is superseded by the SoLazyElement class. All methods are converted inline to SoLazyElement methods for compatibility. This only uses the first emissive color, not an array of them.
const SbColor & SoEmissiveColorElement::get | ( | int | index | ) | const [inline] |
Returns the current emissive color.
static SbColor SoEmissiveColorElement::getDefault | ( | ) | [inline, static] |
Returns the default emissive color.
const SoEmissiveColorElement * SoEmissiveColorElement::getInstance | ( | SoState * | state | ) | [inline, static] |
Returns the top (current) instance of the element in the state.
int32_t SoEmissiveColorElement::getNum | ( | ) | const [inline] |
Returns the number of emissive colors in any instance.
void SoEmissiveColorElement::set | ( | SoState * | state, | |
SoNode * | , | |||
int32_t | numColors, | |||
const SbColor * | colors | |||
) | [inline, static] |
Sets the current emissive color(s).