Window.getMouseVelocity

機能/意味
Acquisition of mouse coordinate movement speed (1.1.0 or later)
タイプ
Windowクラスのメソッド
構文
getMouseVelocity(x, y, speed)
引数
x  Returns the mouse coordinate movement speed in the X-axis direction.
y  Returns the mouse coordinate movement speed in the Y-axis direction.
speed  Returns the mouse coordinate movement speed.
戻り値
Returns whether the acquisition was successful or failed
説明
 Gets the current mouse movement speed in pixel / sec.
 The measurement is started from the moment when it enters the window.
 You can reset the measurement using Window.resetMouseVelocity so that you can get the measurement at any timing.
参照
Window.getTouchVelocity
Window.resetMouseVelocity