• Sceneform SDK for Android was open sourced and archived (github.com/google-ar/sceneform-android-sdk) with version 1.16.0.
  • This site (developers.google.com/sceneform) serves as the documentation archive for the previous version, Sceneform SDK for Android 1.15.0.
  • Do not use version 1.17.0 of the Sceneform Maven artifacts.
  • The 1.17.1 Maven artifacts can be used. Other than the version, however, the 1.17.1 artifacts are identical to the 1.15.0 artifacts.

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