Class HandleUtility
Provides static methods for working with ProBuilderMesh objects in the Editor.
Inherited Members
Namespace: UnityEngine.ProBuilder
Assembly: Unity.ProBuilder.dll
Syntax
public static class HandleUtility
Methods
Name | Description |
---|---|
GetEdgeRotation(ProBuilderMesh, Edge) | Returns the rotation of an Edge in world space. |
GetEdgeRotation(ProBuilderMesh, HandleOrientation, IEnumerable<Edge>) | Returns a rotation suitable for orienting a handle or gizmo relative to the Edge selection. |
GetFaceRotation(ProBuilderMesh, Face) | Returns the rotation of a Face in world space. |
GetFaceRotation(ProBuilderMesh, HandleOrientation, IEnumerable<Face>) | Returns a rotation suitable for orienting a handle or gizmo relative to the Face selection. |
GetRotation(ProBuilderMesh, IEnumerable<int>) | Collects coincident vertices and returns a rotation calculated from the average normal and bitangent. |
GetVertexRotation(ProBuilderMesh, int) | Get the rotation of a vertex in world space. |
GetVertexRotation(ProBuilderMesh, HandleOrientation, IEnumerable<int>) | Returns a rotation suitable for orienting a handle or gizmo relative to the Vertex selection. |