MeshGenerationStatus
The status of a XRMeshSubsystem.GenerateMeshAsync.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Enum
- Namespace: UnityEngine.XR
- Assembly: UnityEngine.XRModule
public enum MeshGenerationStatus
Remarks
XRMeshSubsystem.GenerateMeshAsync will always invoke the provided delegate when the generation completes. This enum contains information about whether the generation was successful, or if an error occurred.
Additional Resources: XRMeshSubsystem.GenerateMeshAsync
Fields
Value | Description |
|---|---|
| Canceled | The mesh generation was canceled. |
| GenerationAlreadyInProgress | The XRMeshSubsystem was already generating the requested mesh. |
| InvalidMeshId | The mesh generation failed because the mesh does not exist. |
| Success | The mesh generation was successful. |
| UnknownError | The mesh generation failed for unknown reasons. |