드래그 동작

공개 클래스 DragGesture

사용자가 터치스크린에서 드래그 동작을 실행하는 동작입니다.

중첩된 클래스

인터페이스 DragGesture.OnGestureEventListener DragGesture에서 호출할 콜백의 인터페이스 정의입니다. 

상속된 필드

공개 생성자

DragGesture(GesturePointersUtilityGesturePointersUtility, HitTestResult hitTestResult, MotionEventMotionEvent)

공개 메서드

벡터3
벡터3

보호되는 방법

boolean
canStart(HitTestResult hitTestResult, MotionEventMotionEvent)
드래그 동작
void
void
void
onStart(HitTestResult hitTestResult, MotionEventMotionEvent)
boolean
updateGesture(HitTestResult hitTestResult, MotionEventMotionEvent)

상속된 메서드

공개 생성자

public DragGesture (GesturePointersUtilityGesturePointersUtility, HitTestResult hitTestResult, MotionEventMotionEvent)

매개변수
동작 포인터 유틸리티
조회 테스트
모션 이벤트

공개 메서드

public Vector3 getDelta ()

public Vector3 getPosition ()

보호되는 방법

보호된 부울 canStart (HitTestResult hitTestResult, MotionEventMotionEvent)

매개변수
조회 테스트
모션 이벤트

보호된 DragGesturegetSelf()

보호된 void onCancel ()

보호된 void onFinish ()

보호된 void onStart (HitTestResult hitTestResult, MotionEventMotionEvent)

매개변수
조회 테스트
모션 이벤트

보호된 부울 updateGesture (HitTestResult hitTestResult, MotionEventMotionEvent)

매개변수
조회 테스트
모션 이벤트