public class
RotationController
Manipulates the rotation of a BaseTransformableNode
using a TwistGestureRecognizer
.
Public Constructors
RotationController(BaseTransformableNode transformableNode, TwistGestureRecognizer gestureRecognizer)
|
Public Methods
boolean |
canStartTransformation(TwistGesture gesture)
|
float | |
void |
onContinueTransformation(TwistGesture gesture)
|
void |
onEndTransformation(TwistGesture gesture)
|
void |
setRotationRateDegrees(float rotationRateDegrees)
|
Inherited Methods
Public Constructors
public RotationController (BaseTransformableNode transformableNode, TwistGestureRecognizer gestureRecognizer)
Parameters
transformableNode | |
---|---|
gestureRecognizer |
Public Methods
public float getRotationRateDegrees ()
public void setRotationRateDegrees (float rotationRateDegrees)
Parameters
rotationRateDegrees |
---|