# TryGetMeshInfos(List<MeshInfo>)

> Gets information about every Mesh the system currently tracks.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.XR](/engine/6000.0/script-reference/unityengine/xr.md)
* **Assembly:** UnityEngine.XRModule

```csharp
public bool TryGetMeshInfos(List<MeshInfo> meshInfosOut)
```

### Parameters

**** (\[List\<MeshInfo>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): A List of [MeshInfo](/engine/6000.0/script-reference/unityengine/xr/meshinfo.md)s to be filled. Passing null will throw an ArgumentNullException.

### Returns

| Type                                                          | Description                     |
| ------------------------------------------------------------- | ------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if the List was populated. |

### Remarks

Use this to determine which meshes have been added, changed, or removed.

**Note:** This method provides state changes since the last time the method was called. Typically, a single system should manage this information.

Additional Resources: [XRMeshSubsystem.GenerateMeshAsync](/engine/6000.0/script-reference/unityengine/xr/xrmeshsubsystem/generatemeshasync.md)
