Function PathTracer.UpdateEnd

UpdateEnd (Vector3 position, RepairQuality quality, NativeMovementPlane movementPlane)

Update the end point of the path, clamping it to the graph, and repairing the path if necessary.

Public
Vector3 UpdateEnd (

Vector3

position

RepairQuality

quality

NativeMovementPlane

movementPlane

)

Update the end point of the path, clamping it to the graph, and repairing the path if necessary.

This may cause isStale to become true, if the path could not be repaired successfully.

Return

The new end point, which has been clamped to the graph.