public class SoVRMLColorRGBA extends SoVRMLNode
See the X3D Specification, below.
<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 X3D 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 X3D specification that are not present in this help file. The complete X3D spec is available at
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.
File format/default:
VRMLColorRGBA {
| color | [] |
| metadata | NULL |
Action behavior:
SoGLRenderAction, SoCallbackAction
SoMFColorRGBA | set_color |
SoSFNode | set_metadata |
SoMFColorRGBA | color_changed |
SoSFNode | metadata_changed |
Inventor.ConstructorCommand| Modifier and Type | Field and Description |
|---|---|
SoMFColorRGBA |
color
Deprecated.
RGBA color values.
|
metadataVERBOSE_LEVEL, ZeroHandle| Constructor and Description |
|---|
SoVRMLColorRGBA()
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, writecopyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaultsdispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizablegetAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreadspublic final SoMFColorRGBA color
Generated on February 24, 2026, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com