Enum MeshSyncState
Describes why a ProBuilderMesh is out of sync with its MeshFilter component.
Namespace: UnityEngine.ProBuilder
Syntax
public enum MeshSyncState
Fields
| Name | Description | Value |
|---|---|---|
| Null | The MeshFilter mesh is null. |
0 |
| InstanceIDMismatch | The MeshFilter mesh is not owned by the ProBuilderMesh component. To fix this, use UnityEngine.ProBuilder.ProBuilderMesh.MakeUnique. This is only used in the Editor. |
1 |
| Lightmap | The mesh is valid, but does not have a UV2 channel. This is only used in the Editor. |
2 |
| InSync | The mesh is in sync. |
3 |