A class that manipulates Mesh.
More...
|
| 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.
◆ LocalPointToUV()
bool Es.InkPainter.MeshOperator.LocalPointToUV |
( |
Vector3 |
localPoint, |
|
|
Matrix4x4 |
matrixMVP, |
|
|
out Vector2 |
uv |
|
) |
| |
Convert local-space point to texture coordinates.
- Parameters
-
localPoint | Local-Space Point |
matrixMVP | World-View-Projection Transformation matrix. |
uv | UV coordinates after conversion. |
- Returns
- Whether the conversion was successful.
◆ NearestLocalSurfacePoint()
Vector3 Es.InkPainter.MeshOperator.NearestLocalSurfacePoint |
( |
Vector3 |
localPoint | ) |
|
Returns the point on the surface of Mesh closest to the point on the specified local-space.
- Parameters
-
localPoint | The point of local-space. |
- Returns
- Mesh The point of local-space on the surface.
The documentation for this class was generated from the following file: