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

NsdkNavMesh

This class manages the data structures associated with a navigation mesh ("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)

Properties

NameTypeSummary
Areafloat
-
readonly SettingsModelSettings
-
readonly SurfacesList<Surface>
-

Methods

NameTypeSummary
CalculatePathbool
-
CheckFitbool
-
Clearvoid
-
Destroyvoid
-
FindNearestFreePositionbool
-
FindRandomPositionbool
-
IsOnNavMeshbool
-
Prunevoid
-
RayCastbool
-
Scanvoid
-