Method PolygonVertexToUV
PolygonVertexToUV(Vector3, Pose, Pose)
Takes a polygon UV coordinate, and produces a pose-corrected UV coordinate.
Declaration
public static Vector2 PolygonVertexToUV(Vector3 vertexPos, Pose planePose, Pose uvPose)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3 | vertexPos | Vertex to transform. |
| Pose | planePose | Polygon pose. |
| Pose | uvPose | UV-correction Pose. |
Returns
| Type | Description |
|---|---|
| Vector2 | The corrected UV coordinate. |