get_motion_delta
Description:
[ Version ( since = "1.12" ) ]
public float get_motion_delta (uint point, out float delta_x, out float delta_y)
public float get_motion_delta (uint point, out float delta_x, out float delta_y)
Retrieves the incremental delta since the last motion event during the dragging.
Parameters:
this | |
point |
the touch point index, with 0 being the first touch point received by the action |
delta_x |
return location for the X axis component of the incremental motion delta |
delta_y |
return location for the Y axis component of the incremental motion delta |
Returns:
the distance since last motion event |