Package pro.streem.ar.sceneform.ux
Class TransformableNode
- java.lang.Object
-
- pro.streem.ar.sceneform.NodeParent
-
- pro.streem.ar.sceneform.Node
-
- pro.streem.ar.sceneform.ux.BaseTransformableNode
-
- pro.streem.ar.sceneform.ux.TransformableNode
-
- All Implemented Interfaces:
pro.streem.ar.sceneform.common.TransformProvider,pro.streem.ar.sceneform.Node.OnTapListener
public class TransformableNode extends BaseTransformableNode
Node that can be selected, translated, rotated, and scaled using gestures fromTransformationSystem.
-
-
Constructor Summary
Constructors Constructor Description TransformableNode(TransformationSystem transformationSystem)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RotationControllergetRotationController()Returns the controller that rotates this node using a twist gesture.ScaleControllergetScaleController()Returns the controller that scales this node using a pinch gesture.TranslationControllergetTranslationController()Returns the controller that translates this node using a drag gesture.-
Methods inherited from class pro.streem.ar.sceneform.ux.BaseTransformableNode
addTransformationController, getTransformationSystem, isSelected, isTransforming, onTap, removeTransformationController, select
-
Methods inherited from class pro.streem.ar.sceneform.Node
addLifecycleListener, addTransformChangedListener, callOnHierarchy, canAddChild, findInHierarchy, getBack, getCollisionShape, getDown, getForward, getLeft, getLight, getLocalPosition, getLocalRotation, getLocalScale, getName, getParent, getRenderable, getRenderableInstance, getRight, getScene, getUp, getWorldModelMatrix, getWorldPosition, getWorldRotation, getWorldScale, isActive, isDescendantOf, isEnabled, isTopLevel, localToWorldDirection, localToWorldPoint, onActivate, onAddChild, onDeactivate, onRemoveChild, onTouchEvent, onTransformChange, onUpdate, removeLifecycleListener, removeTransformChangedListener, setCollisionShape, setEnabled, setLight, setLocalPosition, setLocalRotation, setLocalScale, setLookDirection, setLookDirection, setName, setOnTapListener, setOnTouchListener, setParent, setRenderable, setWorldPosition, setWorldRotation, setWorldScale, toString, worldToLocalDirection, worldToLocalPoint
-
-
-
-
Constructor Detail
-
TransformableNode
public TransformableNode(TransformationSystem transformationSystem)
-
-
Method Detail
-
getTranslationController
public TranslationController getTranslationController()
Returns the controller that translates this node using a drag gesture.
-
getScaleController
public ScaleController getScaleController()
Returns the controller that scales this node using a pinch gesture.
-
getRotationController
public RotationController getRotationController()
Returns the controller that rotates this node using a twist gesture.
-
-