Polarith AI
1.8

◆ AreaMask

int AreaMask = -1

Specifies the area for the NavMesh.FindClosestEdge(Vector3, out NavMeshHit, int) and NavMesh.GetAreaCost(int) methods.

This is a bitfield representing the navmesh areas to be considered.

Note: the area can be -1 to specify NavMesh.AllAreas. However, with this value, the area cost is set to a default value of 1.

Imprint