DragGesture

パブリック クラス DragGesture

ユーザーがタッチ スクリーンでドラッグ モーションを実行したときのジェスチャー。

ネストされたクラス

インターフェース DragGesture.OnGestureEventListener DragGesture によって呼び出されるコールバックのインターフェース定義。 

継承されるフィールド

パブリック コンストラクタ

DragGestureGesturePointersUtility gesturePointersUtility、HitTestResult hitsTestResult、MotionEvent motionEvent)

パブリック メソッド

Vector3
Vector3

保護されたメソッド

ブール値
canStartHitTestResultヒットテスト結果、MotionEvent motionEvent)
DragGesture
void
void
void
onStartHitTestResultヒットテスト結果、MotionEvent motionEvent)
ブール値
updateGesture(HitTestResult hitsTestResult, MotionEvent motionEvent)

継承されるメソッド

パブリック コンストラクタ

public DragGesture (GesturePointersUtility gesturePointersUtility、HitTestResult hitsTestResult、MotionEvent motionEvent)

パラメータ
gesturePointersUtility
ヒットテストの結果
モーション イベント

パブリック メソッド

public Vector3 getDelta ()

public Vector3 getPosition ()

保護されたメソッド

Protected boolean canStart (HitTestResult hitsTestResult, MotionEvent motionEvent)

パラメータ
ヒットテストの結果
モーション イベント

Protection DragGesture getSelf ()

Protect void onCancel ()

Protect void onFinish ()

Protected void onStart (HitTestResult hitsTestResult, MotionEvent motionEvent)

パラメータ
ヒットテストの結果
モーション イベント

Protected boolean updateGesture (HitTestResult hitsTestResult, MotionEvent motionEvent)

パラメータ
ヒットテストの結果
モーション イベント