Click or drag to resize

GH_MouseTrackerLastFrameWithinDeviation Method

Starting from the youngest frame, finds the oldest frame that is still within a maximum deviation of the youngest frame.

Namespace:  Grasshopper.GUI
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public int LastFrameWithinDeviation(
	double deviation
)

Parameters

deviation
Type: SystemDouble
Maximum allowed deviation.

Return Value

Type: Int32
The index of the oldest frame with a distance less than the deviation from the youngest frame, or -1 if no such frame could be found.
See Also