# NsdkNavMesh Source: https://www.nianticspatial.com/docs/api/unity/NianticSpatial.NSDK.AR.NavigationMesh.NsdkNavMesh/ NsdkNavMesh --- ## Declaration public class NsdkNavMesh ## Summary This class manages the data structures associated with a navigation mesh ("NsdkNavMesh"). It dynamically builds a 2d grid on the meshes detected in the environment for running navigation algorithms on. You are able to retrieve a number of properties of the "NsdkNavMesh" from it. There are also a number of methods to help you place and move NsdkNavMeshAgents on the board. --- ## Constructors public NsdkNavMesh(ModelSettings settings, bool visualise) #### Summary Constructs a new NsdkNavMesh using the parameters given. #### Returns Returns the newly created NsdkNavMesh. --- ## Properties | Name | Type | Summary | | --- | --- | --- | | Area | float | The discovered free area in square meters. | | readonly Settings | ModelSettings | The configuration of the NavMeshModel. | | readonly Surfaces | List | - | --- ## Methods | Name | Type | Summary | | --- | --- | --- | | CalculatePath | bool | - | | CheckFit | bool | - | | Clear | void | Removes all surfaces from the NsdkNavMesh. | | Destroy | void | - | | FindNearestFreePosition | bool | - | | FindRandomPosition | bool | - | | IsOnNavMesh | bool | Checks if a particular 3d position is on the NsdkNavMesh (within a certain threshold). | | Prune | void | - | | RayCast | bool | - | | Scan | void | - | ---