공개 클래스 TranslationController
DragGestureRecognizer
를 사용하여 BaseTransformableNode
의 위치를 조작합니다. 선택하지 않으면 DragGesture
가 시작될 때 BaseTransformableNode
이 선택됩니다.
공개 생성자
공개 메서드
boolean | |
EnumSet&br;Plane.Type> |
getAllowedPlaneTypes()
이 TranslationController에서 변환이 허용되는 ArCore 평면 유형을 결정하는 EnumSet 참조를 가져옵니다.
|
boolean | |
void | |
void | |
void | |
void |
setAllowedPlaneTypes(EnumSet<Plane.Type> allowedPlaneTypes)
이 TranslationController에서 번역할 수 있는 ArCore 평면 유형을 설정합니다.
|
상속된 메서드
공개 생성자
public TranslationController (BaseTransformableNode transformableNode, DragGestureAwarerGestureAwarer)
매개변수
변환 가능한 노드 | |
---|---|
동작 인식기 |
공개 메서드
public EnumSet<Plane.Type> getAllowedPlaneTypes ()
이 TranslationController에서 변환이 허용되는 ArCore 평면 유형을 결정하는 EnumSet 참조를 가져옵니다.
public boolean isTransforming ()
public void onUpdated (Node 노드, FrameTimeframeTime)
리스너에 onUpdate(FrameTime)
가 호출되었음을 알립니다.
매개변수
노드 | 업데이트된 노드 |
---|---|
프레임 시간 | 현재 프레임에 시간 정보 제공 |
public void setAllowedPlaneTypes (EnumSet<Plane.Type> allowedPlaneTypes)
이 TranslationController에서 번역할 수 있는 ArCore 평면 유형을 설정합니다.
매개변수
allowedPlaneType |
---|