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

Surface

Represents a subset on the grid with cells of approximately the same elevation.

Declaration​

public class Surface

Constructors​

public Surface(IEnumerable<GridNode> gridElements, int id)

Properties​

NameTypeSummary
readonly ElementsIEnumerable<GridNode>
Grid nodes that make up this plane (readonly).
Elevationfloat
Elevation of the grid.
readonly IsEmptybool
Whether this planes does not contain any valid elements on the grid.

Methods​

NameTypeSummary
CanMergebool
-
ContainsElementbool
-
Exceptvoid
-
GetClosestElementGridNode
-
Intersectvoid
-
Mergevoid
Merges the other plane's grid elements to this plane.
Overlapsbool
-