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?

Hi

You might be interested in: http://arongranberg.com/vanillaforums/discussion/3255/finding-a-random-node#latest
You can find the closest point on the graph using this code:
Vector3 closest = AstarPath.active.GetNearest (somePoint, NNConstraint.Default).clampedPosition;

Thanks Aron, that was enough to get me started.