Function PointKDTree.GetInRange

GetInRange (Int3 point, long sqrRadius, List<GraphNode> buffer)

Add all nodes within a squared distance of the point to the buffer.

Public
void GetInRange (

Int3

point

Nodes around this point will be added to the buffer.

long

sqrRadius

squared maximum distance in Int3 space. If you are converting from world space you will need to multiply by Int3.Precision: var sqrRadius = (worldSpaceRadius * Int3.Precision) * (worldSpaceRadius * Int3.Precision);

List<GraphNode>

buffer

All nodes will be added to this list.

)

Add all nodes within a squared distance of the point to the buffer.