public NavMeshLocation MapLocation(Vector3 position, Vector3 extents, int agentTypeID, int areaMask = -1)
 {
     AtomicSafetyHandle.CheckReadAndThrow(this.m_Safety);
     return(NavMeshQuery.MapLocation(this.m_NavMeshQuery, position, extents, agentTypeID, areaMask));
 }