Function PointKDTree.GetNearest

GetNearest (Int3 point, NNConstraint constraint, ref float distanceSqr)

Closest node to the point which satisfies the constraint and is at most at the given distance.

Public
GraphNode GetNearest (

Int3

point

NNConstraint

constraint

ref float

distanceSqr

)

Closest node to the point which satisfies the constraint and is at most at the given distance.