คลาสสาธารณะ
RotationController
ควบคุมการหมุน BaseTransformableNode
โดยใช้ TwistGestureRecognizer
ผู้ผลิตก่อสร้าง
RotationController(BaseTransformableNode TransformableNode, Twistท่าทางสัมผัสRecognizerท่าทางสัมผัสRecognizer)
|
วิธีการสาธารณะ
บูลีน |
canStartTransformation(ท่าทางสัมผัสการบิดท่าทางสัมผัส)
|
จำนวนลอยตัว | |
เป็นโมฆะ |
onContinueTransformation(ท่าทางสัมผัสการบิดท่าทางสัมผัส)
|
เป็นโมฆะ |
onEndTransformation(ท่าทางสัมผัสการบิดท่าทางสัมผัส)
|
เป็นโมฆะ |
setRotationRateDegrees(อัตราการหมุนแบบลอย)
|
วิธีการที่รับค่ามา
ผู้ผลิตก่อสร้าง
สาธารณะ RotationController (BaseTransformableNode TransformableNode, Twistท่าทางสัมผัสRecognizerท่าทางสัมผัสRecognizer)
พารามิเตอร์
โหนด Transformable | |
---|---|
การรู้จําท่าทางสัมผัส |
วิธีการสาธารณะ
แบบลอย สาธารณะ getRotationRateDegrees ()
สาธารณะ null setRotationRateDegrees (FloatingการหมุนเวียนRateDegrees)
พารามิเตอร์
องศาการหมุน |
---|