BaseTransformationController를 참조하세요.

공개 추상 클래스 BaseTransformationController
알려진 직접 서브클래스

BaseGestureRecognizer를 통해 동작에 응답하여 BaseTransformableNode의 변환 속성 (예: 배율/회전/변환)을 조작합니다.

예를 들어 손가락 모으기 동작을 기반으로 TransformableNode축척을 변경하는 경우가 이에 해당합니다.

공개 생성자

BaseTransformationController(BaseTransformableNode transformableNode, BaseGestureAwarer&tt;GestureRecognitionr)

공개 메서드

T
BaseTransformableNode를 참조하세요.
getTransformableNode()를 참조하세요.
boolean
boolean
void
onActivated(노드 노드)
리스너에 onActivate()가 호출되었음을 알립니다.
void
on비활성화됨(노드 노드)
리스너에 onDeactivate()가 호출되었음을 알립니다.
void
onFinished(T 동작)
void
onGestureStarted(T 동작)
void
onUpdated(T 동작)
void
onUpdated(Node 노드, FrameTimeframeTime)
리스너에 onUpdate(FrameTime)가 호출되었음을 알립니다.
void
setEnabled(부울 사용 설정됨)

보호되는 방법

추상 부울
추상 무효
추상 무효

상속된 메서드

공개 생성자

public BaseTransformationController (BaseTransformableNode transformableNode, BaseGestureRecognitionr<T>GestureAwarer)

매개변수
변환 가능한 노드
동작 인식기

공개 메서드

public T getActiveGesture ()

public BaseTransformableNode getTransformableNode ()

public boolean isEnabled ()

public boolean isTransforming ()

public void onActivated (Node 노드)

리스너에 onActivate()가 호출되었음을 알립니다.

매개변수
노드 활성화된 노드

public void on비활성화됨 (노드 노드)

리스너에 onDeactivate()가 호출되었음을 알립니다.

매개변수
노드 비활성화된 노드

public void onFinished (T 동작)

매개변수
동작

public void onGestureStarted (T 동작)

매개변수
동작

public void onUpdated (T 동작)

매개변수
동작

public void onUpdated (Node 노드, FrameTimeframeTime)

리스너에 onUpdate(FrameTime)가 호출되었음을 알립니다.

매개변수
노드 업데이트된 노드
프레임 시간 현재 프레임에 시간 정보 제공

public void setEnabled (불리언 사용 설정됨)

매개변수
사용 설정됨

보호되는 방법

보호된 추상 부울 canStartTransformation (T 동작)

매개변수
동작

보호된 추상 void onContinueTransformation (T 동작)

매개변수
동작

보호된 추상 void onEndTransformation (T 동작)

매개변수
동작