Event beforeMeshModification
Raised immediately prior to beginning vertex modifications, when the ProBuilderMesh is in un-altered state. This is after ToMesh(MeshTopology) and Refresh(RefreshMask) have been called, but before Optimize(ProBuilderMesh, bool).
Namespace: UnityEditor.ProBuilder
Assembly: Unity.ProBuilder.Editor.dll
Syntax
public static event Action<IEnumerable<ProBuilderMesh>> beforeMeshModification
Returns
Type | Description |
---|---|
Action<IEnumerable<ProBuilderMesh>> |