Skip to main content
API Reference NianticSpatial.NSDK.AR.NavigationMesh

NsdkNavMeshAgentPathRenderer

↳ extends UnityEngine.MonoBehaviour

Declaration

public class NsdkNavMeshAgentPathRenderer : MonoBehaviour

Summary

NsdkNavMeshAgentPathRenderer is a debug renderer to show you the path a NsdkNavMeshAgent is moving along while navigating the environment. You add it to the NsdkNavMeshAgentGameObject in your scene and it will draw that agent's current path.


Fields

NameTypeSummary
_agentNsdkNavMeshAgent
The NsdkNavMeshAgent that you want to render the path for.
_materialMaterial
The Material used to render the path. This Material will be applied on a LineRenderer.