Version: 2019.3
LanguageEnglish
  • C#

MeshGenerationStatus

enumeration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

The status of a XRMeshSubsystem.GenerateMeshAsync.

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.

See Also: XRMeshSubsystem.GenerateMeshAsync

Properties

SuccessThe mesh generation was successful.
InvalidMeshIdThe mesh generation failed because the mesh does not exist.
GenerationAlreadyInProgressThe XRMeshSubsystem was already generating the requested mesh.
CanceledThe mesh generation was canceled.
UnknownErrorThe mesh generation failed for unknown reasons.