đơn vị điều khiển xoay

lớp công khai RotationController

Thao tác với chế độ xoay của BaseTransformableNode bằng TwistGestureRecognizer.

Xây dựng công cộng

RotationController(BaseTransformableNode conversionableNode, TwistGestureRecognizerGestureRecognizer)

Phương thức công khai

boolean
số thực dấu phẩy động
void
void
void
setRotationRateDegrees(floatrotateRateDegrees)

Các phương thức kế thừa

Xây dựng công cộng

public RotationController (BaseTransformableNode conversionableNode, TwistGestureRecognizerGestureRecognizer)

Các tham số
Có thể chuyển đổi nút
Nhận dạng cử chỉ

Phương thức công khai

boolean công khai canStartTransformation (cử chỉ TwistGesture)

Các tham số
cử chỉ

công khai nổi getRotationRateDegrees ()

public void onContinueTransformation (Cử chỉ TwistGesture)

Các tham số
cử chỉ

public void onEndTransformation (Cử chỉ TwistGesture)

Các tham số
cử chỉ

public void setRotationRateDegrees (floatXoayRateDegrees)

Các tham số
xoayRateRatedegrees