RotationController

public class RotationController

Manipulates the rotation of a BaseTransformableNode using a TwistGestureRecognizer.

Public Constructors

RotationController(BaseTransformableNode transformableNode, TwistGestureRecognizer gestureRecognizer)

Public Methods

boolean
float
void
void
void
setRotationRateDegrees(float rotationRateDegrees)

Inherited Methods

Public Constructors

public RotationController (BaseTransformableNode transformableNode, TwistGestureRecognizer gestureRecognizer)

Parameters
transformableNode
gestureRecognizer

Public Methods

public boolean canStartTransformation (TwistGesture gesture)

Parameters
gesture

public float getRotationRateDegrees ()

public void onContinueTransformation (TwistGesture gesture)

Parameters
gesture

public void onEndTransformation (TwistGesture gesture)

Parameters
gesture

public void setRotationRateDegrees (float rotationRateDegrees)

Parameters
rotationRateDegrees