Stores specular color of current material (superseded by SoMaterialElement). More...
#include <Inventor/elements/SoSpecularColorElement.h>
Public Member Functions | |
int32_t | getNum () const |
Returns the number of specular colors in any instance. | |
const SbColor & | get (int index) const |
Returns the current specular color. | |
Static Public Member Functions | |
static void | set (SoState *state, SoNode *, int32_t numColors, const SbColor *colors) |
Sets the current specular color(s). | |
static const SoSpecularColorElement * | getInstance (SoState *state) |
Returns the top (current) instance of the element in the state. | |
static SbColor | getDefault () |
Returns the default specular color. | |
Stores specular color of current material (superseded by SoMaterialElement).
This class is superseded by the SoMaterialElement class. All methods are converted inline to SoMaterialElement methods for compatibility. This only uses the first specular color, not an array of them.
Definition at line 74 of file SoSpecularColorElement.h.
|
inline |
Returns the current specular color.
Definition at line 141 of file SoSpecularColorElement.h.
|
inlinestatic |
Returns the default specular color.
Definition at line 105 of file SoSpecularColorElement.h.
|
inlinestatic |
Returns the top (current) instance of the element in the state.
Definition at line 130 of file SoSpecularColorElement.h.
|
inline |
Returns the number of specular colors in any instance.
Definition at line 94 of file SoSpecularColorElement.h.
|
inlinestatic |
Sets the current specular color(s).
Definition at line 116 of file SoSpecularColorElement.h.