Enum RefreshMask
Selectively rebuild and apply mesh attributes to the UnityEngine.Mesh asset.
Namespace: UnityEngine.ProBuilder
Syntax
[Flags]
public enum RefreshMask
Fields
| Name | Description | Value |
|---|---|---|
| All | Refresh all optional mesh attributes. |
|
| Bounds | Bounds will be recalculated. |
|
| Collisions | Re-assign the MeshCollider sharedMesh. |
|
| Colors | Colors will be rebuilt. |
|
| Normals | Normals will be recalculated and applied. |
|
| Tangents | Tangents will be recalculated and applied. |
|
| UV | Textures channel will be rebuilt. |