<<VRML 2.0 - An Introductory view by examples

Coordinate

[coordinate example]                                         [run-example] 

This node defines a set of 3D coordinates to be used in the fields of vertex-based geometry nodes (e.g. PointSet, IndexedFaceSet, IndexedLineSet).

{
exposedField MFVec3f point [ ] # a set of 3D coordinates
}

Usage :

Shape{
   geometry PointSet{coord Coordinate 
                           { point [1 1 1, 3 3 3]} ; points coordinate
                     color [ 1 0 0, 0 .5 0]        ; color for each point
                     }
      }