Method ClosestHandleIndex
ClosestHandleIndex(float)
Find the closest handle index to the mouse position.
Declaration
protected int ClosestHandleIndex(float mousePosition)
Parameters
| Type | Name | Description |
|---|---|---|
| float | mousePosition | The mouse position. |
Returns
| Type | Description |
|---|---|
| int | The closest handle index. |