How to tell if a point is on a navmesh

Hey there. So I’m spawning creatures on my terrain, but first I need to test if the area I want to spawn them is navigable. How would I go about testing if a Vector3 is on the navmesh?


You might be interested in:
You can find the closest point on the graph using this code:
Vector3 closest = (somePoint, NNConstraint.Default).clampedPosition;

Thanks Aron, that was enough to get me started.