Specifies RGB colors to be used in the fields of another node. More...
#include <Inventor/VRMLnodes/SoVRMLColor.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
SoVRMLColor () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoMFColor | color |
This node defines a set of RGB colors to be used in the fields of another node.
NOTE: This class does not exist in Open Inventor 10.0 and later.This section may reference portions of the VRML97 specification that are not present in this help file. The complete VRML97 spec is available at http://www.web3d.org .
This node defines a set of RGB colors to be used in the fields of another node.
SoVRMLColor nodes are only used to specify multiple colors for a single piece of geometry, such as a different color for each face or vertex of an SoVRMLIndexedFaceSet. An SoVRMLMaterial node is used to specify the overall material parameters of a lighted geometry. If both an SoVRMLMaterial and an SoVRMLColor node are specified for a geometry, the colors should ideally replace the diffuse component of the material.
Textures take precedence over colors; specifying both an SoVRMLTexture and an SoVRMLColor node for a geometry will result in the SoVRMLColor node being ignored. See "Concepts - Lighting Model" for details on lighting equations.
color | [] |
metadata | NULL |
SoMFColor | set_color |
SoSFNode | set_metadata |
SoMFColor | color_changed |
SoSFNode | metadata_changed |
SoVRMLColor::SoVRMLColor | ( | ) |
Constructor.
static SoType SoVRMLColor::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoVRMLNode.
virtual SoType SoVRMLColor::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoVRMLNode.
RGB color values.