# LocationMeshManager Source: https://www.nianticspatial.com/docs/api/unity/NianticSpatial.NSDK.AR.Subsystems.LocationMeshManager/ LocationMeshManager > extends UnityEngine.MonoBehaviour MonoBehaviour that manages the downloading and rendering of location meshes --- ## Declaration public class LocationMeshManager : MonoBehaviour --- ## Properties | Name | Type | Summary | | --- | --- | --- | | TexturedMeshMaterial | Material | Get or set the material to use for textured meshes A custom material can be provided to render the meshes with a custom shader | | VertexColorMaterial | Material | Get or set the material to use for vertex colored meshes A custom material can be provided to render the meshes with a custom shader | --- ## Methods | Name | Type | Summary | | --- | --- | --- | | GetLocationMeshChunksByVpsMapAssetIdAsync | IAsyncEnumerable | Stream mesh chunks for a VPS map asset, yielding each chunk as a GameObject as it completes. Resolves the VPS map asset to its Mesh sibling in the same asset group. Chunks arrive one at a time, closest-first based on the provided GPS position. Iterate with await foreach to process each chunk as it arrives. | | async GetLocationMeshForPayloadAsync | Task | Get the mesh for an anchor payload | ---