Package pro.streem.ar.sceneform
Interface Node.TransformChangedListener
-
- Enclosing class:
- Node
public static interface Node.TransformChangedListenerInterface definition for callbacks to be invoked when the transformation of the node changes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonTransformChanged(Node node, Node originatingNode)Notifies the listener that the transformation of theNodehas changed.
-
-
-
Method Detail
-
onTransformChanged
void onTransformChanged(Node node, Node originatingNode)
Notifies the listener that the transformation of theNodehas changed. Called right afterNode.onTransformChange(Node).The originating node is the most top-level node in the hierarchy that triggered the node to change. It will always be either the same node or one of its' parents. i.e. if node A's position is changed, then that will trigger
onTransformChanged(Node, Node)to be called for all of it's descendants with the originatingNode being node A.- Parameters:
node- the node that changedoriginatingNode- the node that triggered the transformation to change
-
-