struct GridNode
(Niantic.Lightship.AR.NavigationMesh.GridNode)
Overview
Encloses data for grid elements used during scanning for walkable areas.
struct GridNode: IEquatable< GridNode > {
// fields
readonly Vector2Int Coordinates;
float Elevation;
float Deviation;
float DiffFromNeighbour;
// methods
GridNode(Vector2Int coordinates);
bool Equals(GridNode other);
override int GetHashCode();
};
Detailed Documentation
Encloses data for grid elements used during scanning for walkable areas.
Fields
Coordinates
readonly Vector2Int Coordinates
Coordinates of this node on the grid.
Elevation
float Elevation
Height of the node.
Deviation
float Deviation
Standard deviation in the area around the node.
DiffFromNeighbour
float DiffFromNeighbour
The calculated minimum difference in elevation from a neighbouring node.