AI-generated Key Takeaways
-
TransformableNodeenables manipulation of nodes (translation, rotation, scaling) through gestures using theTransformationSystem. -
It provides dedicated controllers for rotation (twist gesture), scaling (pinch gesture), and translation (drag gesture).
-
TransformableNodeinherits functionalities fromBaseTransformableNodefor selection and transformation control, and fromNodefor 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.
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.