# MeshInfo

> Contains state information related to a tracked mesh.

## Definition

* **Type:** Struct
* **Namespace:** [UnityEngine.XR](/engine/6000.7/script-reference/unityengine/xr.md)
* **Assembly:** UnityEngine.XRModule
* **Implements:** [IEquatable\<MeshInfo>](https://learn.microsoft.com/dotnet/api/system.iequatable-1)

```csharp
public struct MeshInfo : IEquatable<MeshInfo>
```

## Remarks

This struct is used by the [XRMeshSubsystem](/engine/6000.7/script-reference/unityengine/xr/xrmeshsubsystem.md) to determine which meshes have been added, updated, or removed.

Additional Resources: [XRMeshSubsystem.TryGetMeshInfos](/engine/6000.7/script-reference/unityengine/xr/xrmeshsubsystem/trygetmeshinfos.md)

## Properties

| Property                                                                                | Description                                                                                                   |
| --------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- |
| [ChangeState](/engine/6000.7/script-reference/unityengine/xr/meshinfo/changestate.md)   | The change state (e.g., Added, Removed) of the tracked mesh.                                                  |
| [MeshId](/engine/6000.7/script-reference/unityengine/xr/meshinfo/meshid.md)             | The [MeshInfo.MeshId](/engine/6000.7/script-reference/unityengine/xr/meshinfo/meshid.md) of the tracked mesh. |
| [PriorityHint](/engine/6000.7/script-reference/unityengine/xr/meshinfo/priorityhint.md) | A hint that can be used to determine when this mesh should be processed.                                      |
