public class SoVRMLColor extends SoVRMLNode
<font color="#0000FF">NOTE:</font> This class does not exist in Open Inventor 10.0 and later.
This section describes the expected behavior of the node in a conforming VRML97 browser application. In some cases, the application is responsible for implementing portions of the expected behavior. Open Inventor viewer classes and IVF classes implement some of the application behaviors.
This section may reference portions of the VRML97 specification that are not present in this help file. The complete VRML97 spec is available at
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.
File format/default:
VRMLColor {
color | [] |
metadata | NULL |
Action behavior:
SoGLRenderAction
, SoCallbackAction
Deprecated since Open Inventor 9500
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoMFColor |
color
Deprecated.
RGB color values.
|
metadata
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoVRMLColor()
Deprecated.
Constructor.
|
affectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderUnitID, GLRender, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, handleEvent, isBoundingBoxIgnoring, isOverride, pick, rayPick, search, setOverride, touch, write
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
dispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizable
getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public final SoMFColor color
Generated on July 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com