Version: 2022.2
LanguageEnglish
  • C#

MeshInfo

struct in UnityEngine.XR

/

Implemented in:UnityEngine.XRModule

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

Contains state information related to a tracked mesh.

This struct is used by the XRMeshSubsystem to determine which meshes have been added, updated, or removed.

See Also: XRMeshSubsystem.TryGetMeshInfos

Properties

ChangeStateThe change state (e.g., Added, Removed) of the tracked mesh.
MeshIdThe MeshId of the tracked mesh.
PriorityHintA hint that can be used to determine when this mesh should be processed.