49#ifndef _SO_AMBIENT_COLOR_ELEMENT
50#define _SO_AMBIENT_COLOR_ELEMENT
120 "multiple ambient colors not supported");
130 ace->saveState = state;
144 "multiple ambient colors not supported");
146 return(SoMaterialElement::getAmbient(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
Stores ambient color of current material (superseded by SoMaterialElement).
static void set(SoState *state, SoNode *, int32_t numColors, const SbColor *colors)
Sets the current ambient color(s).
int32_t getNum() const
Returns the number of ambient colors in any instance.
static const SoAmbientColorElement * getInstance(SoState *state)
Returns the top (current) instance of the element in the state.
static SbColor getDefault()
Returns the default ambient color.
const SbColor & get(int index) const
Returns the current ambient color.
static void post(const char *methodName, const char *formatString ...)
Posts an error.
static void setAmbient(SoState *state, SoNode *node, const SbColor &color)
static SbColor getDefaultAmbient()
Specify Open Inventor defaults for colors, etc.
Abstract base class for all database nodes.