Enum RefreshMask
Selectively rebuilds and applies mesh attributes to the UnityEngine.Mesh asset.
Namespace: UnityEngine.ProBuilder
Syntax
[Flags]
public enum RefreshMask
Fields
| Name | Description | Value |
|---|---|---|
| UV | Rebuild textures channel. |
1 |
| Colors | Rebuild colors. |
2 |
| Normals | Recalculate and apply normals. |
4 |
| Tangents | Recalculate and apply tangents. |
8 |
| Collisions | Re-assign the MeshCollider sharedMesh. |
16 |
| Bounds | Recalculate bounds. |
22 |
| All | Refresh all optional mesh attributes. |
31 |