Skip to main content
←API Reference ←NianticSpatial.NSDK.AR.Subsystems

LocationMeshManager

↳ extends UnityEngine.MonoBehaviour
MonoBehaviour that manages the downloading and rendering of location meshes

Declaration​

public class LocationMeshManager : MonoBehaviour

Properties​

NameTypeSummary
TexturedMeshMaterialMaterial
Get or set the material to use for textured meshes
A custom material can be provided to render the meshes with a custom shader
VertexColorMaterialMaterial
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​

NameTypeSummary
async GetLocationMeshForPayloadAsyncTask<GameObject>
Get the mesh for an anchor payload