ViewNode
A Node represents a transformation within the scene graph's hierarchy.
This node contains a View for the rendering engine to render.
Each node can have an arbitrary number of child nodes and one parent. The parent may be another node, or the scene.
Properties
The shape to used to detect collisions for this Node.
The node can be selected when a touch event happened.
Quaternion rotation.
The RenderableInstance to display.
The smooth position, rotation and scale speed.
World-space position.
The world-space quaternion.
World-space rotation.
World-space scale.
Transform from the world coordinate system to the coordinate system of this node.
World transform of a transform component (i.e. relative to the root).
Functions
Converts a position in the world-space to a local-space of this node.
Converts a quaternion in the world-space to a local-space of this node.
Converts a rotation in the world-space to a local-space of this node.
Converts a scale in the world-space to a local-space of this node.
Converts a transform in the world-space to a local-space of this node.
Converts a node transform in the world-space to a local-space of this node.
Converts a position in the local-space of this node to world-space.
Converts a quaternion in the local-space of this node to world-space.
Converts a rotation in the local-space of this node to world-space.
Converts a scale in the local-space of this node to world-space.
Converts a transform in the local-space of this node to world-space.
Converts a node transform in the local-space of this node to world-space.
Rotates the node to face a point in world-space.
Rotates the node to face another node.
Responds to moving events for a gesture in progress
Responds to the beginning of a moving gesture
Responds to the end of a move gesture
The transformation of the Node has changed.
Responds to rotating events for a gesture in progress.
Responds to the beginning of a scaling gesture.
Responds to the end of a scale gesture.
Responds to scaling events for a gesture in progress.
Responds to the beginning of a scaling gesture. Reported by new pointers going down.
Responds to the end of a scale gesture. Reported by existing pointers going up.
The transformation (position, rotation or scale) of the Node has changed.
The transformation (position, rotation or scale) of the Node has changed.
Tests to see if this node collision shape overlaps the collision shape of any other nodes in the scene using Node.collisionShape.
Tests to see if a node is overlapping any other nodes within the scene using Node.collisionShape.
Change the node transform.
Change the node world transform.