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