Tanoda
|
A class that manipulates Mesh. More...
Public Member Functions | |
MeshOperator (Mesh mesh) | |
bool | LocalPointToUV (Vector3 localPoint, Matrix4x4 matrixMVP, out Vector2 uv) |
Convert local-space point to texture coordinates. More... | |
Vector3 | NearestLocalSurfacePoint (Vector3 localPoint) |
Returns the point on the surface of Mesh closest to the point on the specified local-space. More... | |
A class that manipulates Mesh.
Definition at line 11 of file MeshOperator.cs.
Es.InkPainter.MeshOperator.MeshOperator | ( | Mesh | mesh | ) |
Definition at line 24 of file MeshOperator.cs.
bool Es.InkPainter.MeshOperator.LocalPointToUV | ( | Vector3 | localPoint, |
Matrix4x4 | matrixMVP, | ||
out Vector2 | uv | ||
) |
Convert local-space point to texture coordinates.
localPoint | Local-Space Point |
matrixMVP | World-View-Projection Transformation matrix. |
uv | UV coordinates after conversion. |
Definition at line 52 of file MeshOperator.cs.
Vector3 Es.InkPainter.MeshOperator.NearestLocalSurfacePoint | ( | Vector3 | localPoint | ) |
Returns the point on the surface of Mesh closest to the point on the specified local-space.
localPoint | The point of local-space. |
Definition at line 94 of file MeshOperator.cs.