Specifies RGBA colors to be used in the fields of another node.
Action not implemented for this node.
More...
#include <Inventor/VRMLnodes/SoVRMLColorRGBA.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
SoVRMLColorRGBA () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoMFColorRGBA | color |
See the X3D Specification, below.
NOTE: This class does not exist in Open Inventor 10.0 and later.This section may reference portions of the X3D specification that are not present in this help file. The complete X3D spec is available at http://www.web3d.org .
This node defines a set of RGBA colors to be used in the fields of another node.
SoVRMLColorRGBA 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 SoVRMLColorRGBA node are specified for a geometry, the colors replace the diffuse component of the material.
Textures take precedence over colors; specifying both an SoVRMLTexture and an SoVRMLColorRGBA node for a geometry will result in the SoVRMLColorRGBA node being ignored. See the Lighting model chapter of the X3D spec for details on lighting equations.
color | [] |
metadata | NULL |
SoMFColorRGBA | set_color |
SoSFNode | set_metadata |
SoMFColorRGBA | color_changed |
SoSFNode | metadata_changed |
SoVRMLColorRGBA::SoVRMLColorRGBA | ( | ) |
Constructor.
static SoType SoVRMLColorRGBA::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoVRMLNode.
virtual SoType SoVRMLColorRGBA::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoVRMLNode.
RGBA color values.