Titania X3D Editor

It starts with you!

Titania v3.0.4

It starts with you!

X3D Reference

ColorRGBA

ColorRGBA

ColorRGBA node defines a set of RGBA color values that apply either to a sibling Coordinate/CoordinateDouble node, or else to a parent ElevationGrid node. ColorRGBA is only used by ElevationGrid, IndexedFaceSet, IndexedLineSet, LineSet, PointSet, Triangle* and IndexedTriangle* nodes.

The ColorRGBA node belongs to the Rendering component and its container field is color. It is available since X3D version 3.0 or later.

Hierarchy

Fields

SFNode [in, out] metadata NULL [X3DMetadataObject]

Metadata are not part of the X3D world and not interpreted by the X3D browser, but they can be accessed via the ECMAScript interface.

MFColorRGBA [in, out] color [ ] [0,1]

The color field defines an array of 4-tuple RGBA colors.

Warning

ColorRGBA requires Rendering component level 3 (alpha fully supported), Rendering component level 1 (alpha optional), otherwise Full profile.

Description

Hints

  • Colors are often controlled by Material instead.
  • Alpha channel may be ignored under Interchange profile.

Warning

  • ColorRGBA requires Rendering component level 3 (alpha fully supported), Rendering component level 1 (alpha optional), otherwise Full profile.

Browser Compatibility

Titania X_ITE
yes yes