Return type: | MeshVertex list |
---|
Reset the geom pointer in the MItMeshPolygon . This is now being handled automatically inside the iterator, and users should no longer need to call this method directly to sync up the iterator to changes made by MFnMesh Derived from api method maya.OpenMaya.MItMeshPolygon.geomChanged
Undo is not currently supported for this method
This method gets the area of the face
Parameters : |
|
---|---|
Return type: | float |
Derived from api method maya.OpenMaya.MSpace.getArea
This method gets the average color of the all the vertices in this face
Parameters : |
|
---|---|
Return type: | Color |
Derived from api method maya.OpenMaya.MItMeshPolygon.getColor
This method returns the current colorIndex.
Parameters : | vertexIndex : int colorSetName : unicode |
---|---|
Return type: | int |
Derived from api method maya.OpenMaya.MItMeshPolygon.getColorIndex
This method returns the colorIndices for each vertex on the face.
Parameters : |
|
---|---|
Return type: | int list |
Derived from api method maya.OpenMaya.MItMeshPolygon.getColorIndices
This method gets the color of the each vertex in the current face.
Parameters : |
|
---|---|
Return type: | Color list |
Derived from api method maya.OpenMaya.MItMeshPolygon.getColors
This method gets the indices of the edges contained in the current face.
Return type: | int list |
---|
Derived from api method maya.OpenMaya.MItMeshPolygon.getEdges
Return the face normal of the current polygon.
Parameters : |
|
---|---|
Return type: | Vector |
Derived from api method maya.OpenMaya.MSpace.getNormal
Returns the normals for all vertices in the current face
Parameters : |
|
---|---|
Return type: | Vector list |
Derived from api method maya.OpenMaya.MSpace.getNormals
Return the position of the vertex at index in the current polygon.
Parameters : |
|
---|---|
Return type: | Point |
Derived from api method maya.OpenMaya.MSpace.point
Return the position of the point at the given UV value in the current polygon.
Parameters : |
|
---|---|
Return type: | Point |
Derived from api method maya.OpenMaya.MSpace.getPointAtUV
Retrieves the positions of the vertices on the current face/polygon that the iterator is pointing to. Vertex positions will be inserted into the given array and will be indexed using face-relative vertex IDs (ie. ordered from 0 to (vertexCount of the face) - 1), which should not be confused with the vertexIDs of each vertex in relation to the entire mesh object.
Parameters : |
|
---|---|
Return type: | Point list |
Derived from api method maya.OpenMaya.MSpace.getPoints
Return the texture coordinate for the given vertex.
Parameters : |
|
---|---|
Return type: | (float, float) |
Derived from api method maya.OpenMaya.MItMeshPolygon.getUV
This method gets the UV area of the face
Parameters : |
|
---|---|
Return type: | float |
Derived from api method maya.OpenMaya.MItMeshPolygon.getUVArea
Find the point closest to the given point in the current polygon, and return the UV value at that point.
Parameters : |
|
---|---|
Return type: | (float, float) |
Derived from api method maya.OpenMaya.MSpace.getUVAtPoint
Returns the index of the texture coordinate for the given vertex. This index refers to an element of the texture coordinate array for the polygonal object returned by MFnMesh::getUVs .
Parameters : |
|
---|---|
Return type: | int |
Derived from api method maya.OpenMaya.MItMeshPolygon.getUVIndex
This method is used to find the UV set names mapped to the current face.
Return type: | list list |
---|
Derived from api method maya.OpenMaya.MItMeshPolygon.getUVSetNames
Return the all the texture coordinates for the vertices of this face (in local vertex order).
Parameters : |
|
---|---|
Return type: | (float list, float list) |
Derived from api method maya.OpenMaya.MItMeshPolygon.getUVs
This method gets the indices of the vertices of the current face
Return type: | int list |
---|
Derived from api method maya.OpenMaya.MItMeshPolygon.getVertices
This method determines whether the current face has color-per-vertex set for any vertex.
Return type: | bool |
---|
Derived from api method maya.OpenMaya.MItMeshPolygon.hasColor
Tests whether this face has UV’s mapped or not (either all the vertices for a face should have UV’s, or none of them do, so the UV count for a face is either 0, or equal to the number of vertices).
Return type: | bool |
---|
Derived from api method maya.OpenMaya.MItMeshPolygon.hasUVs
This method checks if the face has a valid triangulation. If it doesn’t, then the face was bad geometry: it may gave degenerate points or cross over itself.
Return type: | bool |
---|
Derived from api method maya.OpenMaya.MItMeshPolygon.hasValidTriangulation
Return type: | bool |
---|
This method determines whether the given edge is connected to a vertex in the current face
Parameters : |
|
---|---|
Return type: | bool |
Derived from api method maya.OpenMaya.MItMeshPolygon.isConnectedToEdge
This method determines whether the given face is adjacent to the current face
Parameters : |
|
---|---|
Return type: | bool |
Derived from api method maya.OpenMaya.MItMeshPolygon.isConnectedToFace
This method determines whether the given vertex shares an edge with a vertex in the current face.
Parameters : |
|
---|---|
Return type: | bool |
Derived from api method maya.OpenMaya.MItMeshPolygon.isConnectedToVertex
This method checks if the face is convex.
Return type: | bool |
---|
Derived from api method maya.OpenMaya.MItMeshPolygon.isConvex
This method checks if the face has any holes.
Return type: | bool |
---|
Derived from api method maya.OpenMaya.MItMeshPolygon.isHoled
This method checks if the face is a lamina (the face is folded over onto itself).
Return type: | bool |
---|
Derived from api method maya.OpenMaya.MItMeshPolygon.isLamina
This method determines whether the current face is on a boundary
Return type: | bool |
---|
Derived from api method maya.OpenMaya.MItMeshPolygon.onBoundary
This method checks if the face is planar
Return type: | bool |
---|
Derived from api method maya.OpenMaya.MItMeshPolygon.isPlanar
This method checks if the face is starlike. That is, a line from the centre to any vertex lies entirely within the face.
Return type: | bool |
---|
Derived from api method maya.OpenMaya.MItMeshPolygon.isStarlike
This method checks if its a zero area face
Return type: | bool |
---|
Derived from api method maya.OpenMaya.MItMeshPolygon.zeroArea
This method checks if the UV area of the face is zero
Return type: | bool |
---|
Derived from api method maya.OpenMaya.MItMeshPolygon.zeroUVArea
Returns the normal index for the specified vertex. This index refers to an element in the normal array returned by MFnMesh::getNormals . These normals are per-polygon per-vertex normals. See the MFnMesh description for more information on normals.
Parameters : |
|
---|---|
Return type: | int |
Derived from api method maya.OpenMaya.MItMeshPolygon.normalIndex
This method checks for the number of colors on vertices in this face.
Parameters : |
|
---|---|
Return type: | int |
Derived from api method maya.OpenMaya.MItMeshPolygon.numColors
This method checks for the number of connected edges on the vertices of this face
Return type: | int |
---|
Derived from api method maya.OpenMaya.MItMeshPolygon.numConnectedEdges
This method checks for the number of connected faces
Return type: | int |
---|
Derived from api method maya.OpenMaya.MItMeshPolygon.numConnectedFaces
This Method checks for the number of triangles in this face in the current triangulation
Return type: | int |
---|
Derived from api method maya.OpenMaya.MItMeshPolygon.numTriangles
Return the number of vertices for the current polygon.
Return type: | int |
---|
Derived from api method maya.OpenMaya.MItMeshPolygon.polygonVertexCount
Set the vertex at the given index in the current polygon.
Parameters : |
|
---|
Derived from api method maya.OpenMaya.MSpace.setPoint
Sets new locations for vertices of the current polygon that the iterator is pointing to.
Parameters : |
|
---|
Derived from api method maya.OpenMaya.MSpace.setPoints
Modify the UV value for the given vertex in the current face. If the face is not already mapped, this method will fail.
Parameters : |
|
---|
Derived from api method maya.OpenMaya.MItMeshPolygon.setUV
Modify the UV value for all vertices in the current face. If the face has not already been mapped, this method will fail.
Parameters : |
|
---|
Derived from api method maya.OpenMaya.MItMeshPolygon.setUVs
Signal that this polygonal surface has changed and needs to redraw itself. Derived from api method maya.OpenMaya.MItMeshPolygon.updateSurface
Undo is not currently supported for this method