color field hold the color and typically it hold a Color node. |
If colorPerVertex field is TRUE, the colorIndex field defines the color of each point (vertex) by matching the color with the corresponding coordinate(or point). colorIndex must have -1's where coordIndex does and values of colorIndex point to color array |
If colorPerVertex field has a value FALSE, then indices of colorIndex correspond to indices of polylines but again values are pointers to color array. |