
8.2 Querying Mesh. I 5 I
Once all selected items have been iterated over, the output text is then printed out.
MGlobal.-displaylnfo( txt ).
8.2.4
FACE VERTICES
It is common to associate various data with a vertex. Each vertex can have an asso-
ciated color, normal, uv coordinates, and so on. In Figure 8.5, an individual color is
associated with each vertex. For simplicity of explanation, a c01 ors array is shown.
Maya doesn't store colors in this way but it helps to understand conceptually how
data can be associated with vertices.
er,ex o,or
I rl
1
FIGURE 8.5 Per-vertex color.
To retrieve the color associated ...