4.18.5 PolyFace class

class PolyFace
This class stores the data of a polygonal face. PolyFace objects are returned when the value of a polyFaces attribute is requested.

The class has the following data members:

f
This is a list of integers containing the edge indices of the edges making up the face. If an index is negative the edge has to be reversed (the edge index then is -i-1).

h
This is a list of holes. Each hole is described by a list of integers containing the edge indices of the edges making up the hole in the face. If an index is negative the edge has to be reversed (the edge index then is -i-1).

mf
This is a list of texture coordinate ids of the face. This data type is obsolete as of Maya version 3.0. It is replaced by "mu".

mh
This is a list of texture coordinate ids of the hole. This data type is obsolete as of Maya version 3.0. It is replaced by "mu".

mu
For each loop (i.e. outer loop or hole) this list contains a list of 2-tuples (uvset, ids) where uvset is the index of the UV set and ids the indices of the texture coordinates.

fc
For each loop (outer loop or hole) this list contains a list of color index values.