get_velocity
Description:
[ Version ( since = "1.12" ) ]
public float get_velocity (uint point, out float velocity_x, out float velocity_y)
public float get_velocity (uint point, out float velocity_x, out float velocity_y)
Retrieves the velocity, in stage pixels per millisecond, of the latest motion event during the dragging.
Parameters:
this | |
point |
the touch point index, with 0 being the first touch point received by the action |
velocity_x |
return location for the latest motion event's X velocity |
velocity_y |
return location for the latest motion event's Y velocity |