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 |
canStartTransformation (cử chỉ TwistGesture)
|
số thực dấu phẩy động | |
void |
onContinueTransformation(cử chỉ TwistGesture)
|
void |
onEndTransformation(cử chỉ TwistGesture)
|
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
công khai nổi getRotationRateDegrees ()
public void setRotationRateDegrees (floatXoayRateDegrees)
Các tham số
xoayRateRatedegrees |
---|