Function PointKDTree.GetInRange
Add all nodes within a squared distance of the point to the buffer.
Public
void GetInRange (
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: |
List<GraphNode> | buffer | All nodes will be added to this list. |
Add all nodes within a squared distance of the point to the buffer.