49#ifndef _SO_SPECULAR_COLOR_ELEMENT
50#define _SO_SPECULAR_COLOR_ELEMENT
84 int32_t numColors,
const SbColor *colors);
123 "multiple specular colors not supported");
133 sce->saveState = state;
147 "multiple specular colors not supported");
149 return(SoMaterialElement::getSpecular(saveState));
#define SoEXTENDER_Documented
void set(int32_t numNormals, const SbVec3f *normals, const SoNormalBindingElement::Binding binding, const int startIndex=0)
const SbVec3f & get(int index) const
static void post(const char *methodName, const char *formatString ...)
Posts an error.
static SbColor getDefaultSpecular()
Specify Open Inventor defaults for colors, etc.
static void setSpecular(SoState *state, SoNode *node, const SbColor &color)
Abstract base class for all database nodes.
Stores specular color of current material (superseded by SoMaterialElement).
static SbColor getDefault()
Returns the default specular color.
static const SoSpecularColorElement * getInstance(SoState *state)
Returns the top (current) instance of the element in the state.
static void set(SoState *state, SoNode *, int32_t numColors, const SbColor *colors)
Sets the current specular color(s).
int32_t getNum() const
Returns the number of specular colors in any instance.
const SbColor & get(int index) const
Returns the current specular color.