The id of the light scene.
The collection of lights in the light scene.
The node in which the lights are stored in the scene tree.
The name of the light scene.
Create an ambient light and add it to the light scene.
The color of the light.
The id of the light.
The intensity of the light. (0-Infinity, default: 0.5)
The name of the light.
Create a directional light and add it to the light scene.
Option for the light to cast shadows.
The color of the light.
The direction of the light.
The id of the light.
The intensity of the light. (0-Infinity, default: 0.5)
The name of the light.
The bias of the shadow map. For more info on the shadow bias, see here.
The resolution of the shadow map. (default: 1024, has to be power of two)
Create an hemisphere light and add it to the light scene.
The color of the light.
The ground color of the light.
The id of the light.
The intensity of the light. (0-Infinity, default: 0.5)
The name of the light.
Create a point light and add it to the light scene.
The color of the light.
The decay of the light.
The distance of the light.
The id of the light.
The intensity of the light. (0-Infinity, default: 0.5)
The name of the light.
The position of the light.
Create a point light and add it to the light scene.
The angle of the light.
The color of the light.
The decay of the light.
The distance of the light.
The id of the light.
The intensity of the light. (0-Infinity, default: 0.5)
The name of the light.
The penumbra of the light.
The position of the light.
The target of the light.
Remove a light from the light scene with the specified id.
The id of the light to remove.
The api for a light scene. A light scene is a collection of lights. Therefore multiple light scene can be used to switch between different lighting environments. It can be created by calling the createLightScene method.