Class EditorMeshUtility
Contains helper functions for mesh editing that are only available in the Editor.
Inherited Members
Namespace: UnityEditor.ProBuilder
Assembly: Unity.ProBuilder.Editor.dll
Syntax
public static class EditorMeshUtility
Methods
Name | Description |
---|---|
Optimize(ProBuilderMesh, bool) | Optimizes the mesh geometry, and generates a UV2 channel if object is marked as ContributeGI
or you set the |
RebuildColliders(ProBuilderMesh) | Resizes any collider components on this mesh to match the size of the mesh bounds. |
Events
Name | Description |
---|---|
meshOptimized | Raised after a ProBuilderMesh has been successfully optimized. |