Function PathTracer.LocalSearch

LocalSearch (GraphNode currentNode, Vector3 point, int maxNodesToSearch, NativeMovementPlane movementPlane, bool reverse, ITraversalProvider traversalProvider, Path path)

Searches from currentNode until it finds a node that contains the given point.

Public
CircularBuffer<GraphNode> LocalSearch (

GraphNode

currentNode

Vector3

point

int

maxNodesToSearch

NativeMovementPlane

movementPlane

bool

reverse

ITraversalProvider

traversalProvider

Path

path

)

Searches from currentNode until it finds a node that contains the given point.

The return value is a list of nodes that start with currentNode and ends with the node that contains the given point, if it could be found. Otherwise, the return value will be an empty list.