LightNode
Light source Node in the scene such as a sun or street lights.
At least one light must be added to a scene in order to see anything (unless the Material.Shading.UNLIT is used).
Creation and destruction:
A Light component is created using the LightManager.Builder and destroyed by calling LightManager.destroy.
See also
Inheritors
Properties
The shape to used to detect collisions for this Node.
Whether this Light casts shadows (disabled by default)
The node can be selected when a touch event happened.
The light's direction in world space
The light's position in world space
The light's rotation in world space
Quaternion rotation.
The smooth position, rotation and scale speed.
Dynamically updates the angular radius of a Type.SUN light.
Dynamically updates the halo falloff of a Type.SUN light.
Dynamically updates the halo radius of a Type.SUN light
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
Returns whether a light channel is enabled on a specified renderable.
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
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.
Dynamically updates the light's intensity. The intensity can be negative.
Dynamically updates the light's intensity in candela. The intensity can be negative.
Enables or disables a light channel. Light channel 0 is enabled by default.
Dynamically updates a spot light's cone as angles
Change the node transform.
Change the node world transform.