This class is used to return information about a point on the
surface of a mesh: 3D position, normal, barycentric coordinates,
etc. The point can be anywhere on the mesh, not just at its
vertices.
x.__init__(...) initializes x; see help(type(x)) for signature
Property Documentation
OpenMaya.MPointOnMesh.barycentricCoords
static
(float, float) Tuple containing the barycentric coordinates of the
point. If the triangle has vertices (A, B, C) then barycentric
coordinates of (u, v) mean that the 3D position of the point is
u*A + v*B + (1 - u - v)*C. The barycentric coordinates are
particularly useful when interpolating attributes from one mesh to
another.
OpenMaya.MPointOnMesh.face
static
(int) Mesh-global index of the face containing the point.
OpenMaya.MPointOnMesh.normal
static
(MFloatVector) Surface normal vector at the point.
OpenMaya.MPointOnMesh.point
static
(MFloatPoint) 3D position of the point.
OpenMaya.MPointOnMesh.triangle
static
(int) Face-local index of the triangle containing the point.
The documentation for this class was generated from the following file: