Node that defines an object's base color. More...
#include <Inventor/nodes/SoBaseColor.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
SoBaseColor () | |
virtual void | setOverride (const SbBool state) |
virtual SbBool | isOverride () const |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoMFColor | rgb |
Node that defines an object's base color.
This node defines the base color (or colors) of subsequent shape nodes in the scene graph. SoBaseColor sets only the diffuse color(s) of the current material and has no effect on the material's other attributes.
rgb | 0.8 0.8 0.8 |
SoMaterial, SoPackedColor, SoVertexProperty
SoBaseColor::SoBaseColor | ( | ) |
Creates a base color node with default settings.
static SoType SoBaseColor::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoNode.
virtual SoType SoBaseColor::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoNode.
virtual SbBool SoBaseColor::isOverride | ( | ) | const [inline, virtual] |
Returns the state of the override field.
Reimplemented from SoNode.
virtual void SoBaseColor::setOverride | ( | const SbBool | state | ) | [inline, virtual] |
RGB color(s).