Function NavMeshGraph.IsInsideBounds

IsInsideBounds (Vector3 point)

True if the point is inside the bounding box of this graph.

Public
bool IsInsideBounds (

Vector3

point

)

True if the point is inside the bounding box of this graph.

Warning

If your input mesh is entirely flat, the bounding box will also end up entirely flat (with a height of zero), this will make this function return false for almost all points, unless they are at exactly the right y-coordinate.

Note

For an unscanned graph, this will always return false.