Table of contents Chapter index Previous slide Next slide 223
Syntax: Color

Controlling color on coordinate-based geometry
Syntax: Color
  • A Color node contains a list of RGB values (similar to a Coordinate node)
    Color {
        color [ 1.0 0.0 0.0, . . . ]
    }

  • Used as the color field value of IndexedFaceSet, IndexedLineSet, PointSet or ElevationGrid nodes