Original Spec| Sample

定義

Color { 
  exposedField MFColor color  []         # [0,1]
}
color
色の集合

サンプル

#VRML V2.0 utf8
Shape {
  geometry IndexedFaceSet {
    coord Coordinate {
      point [0 .2 1, 1 0 0, 0 1 0, -1 0 0 ]
    }
    color Color {
      color [1 0 0, 0 1 0, 0 0 1]
    }
    coordIndex [
     0 1 2 -1
     3 1 2 -1
     0 3 2 -1
     0 1 3 -1
    ]
    colorIndex [0 1 2 -1 0 1 2 -1 0 0 0 -1 0 1 2 -1 ]
    solid FALSE
  }
}
#http://vrmlbyhand.hoops.ne.jp/ref/IndexedFaceSet1.wrl