TransformableNode

  • TransformableNode enables manipulation of nodes (translation, rotation, scaling) through gestures using the TransformationSystem.

  • It provides dedicated controllers for rotation (twist gesture), scaling (pinch gesture), and translation (drag gesture).

  • TransformableNode inherits functionalities from BaseTransformableNode for selection and transformation control, and from Node for general node manipulation like hierarchy, rendering, and event handling.

  • Developers can utilize the provided controllers and inherited methods to interact with and modify the node's properties within an AR scene.

public class TransformableNode

Node that can be selected, translated, rotated, and scaled using gestures from TransformationSystem.

Public Constructors

TransformableNode(TransformationSystem transformationSystem)

Public Methods

RotationController
getRotationController()
Returns the controller that rotates this node using a twist gesture.
ScaleController
getScaleController()
Returns the controller that scales this node using a pinch gesture.
TranslationController
getTranslationController()
Returns the controller that translates this node using a drag gesture.

Inherited Methods

Public Constructors

public TransformableNode (TransformationSystem transformationSystem)

Parameters
transformationSystem

Public Methods

public RotationController getRotationController ()

Returns the controller that rotates this node using a twist gesture.

public ScaleController getScaleController ()

Returns the controller that scales this node using a pinch gesture.

public TranslationController getTranslationController ()

Returns the controller that translates this node using a drag gesture.