The api for a light, please see the definitions for [ambient]IAmbientLightApi, [directional]IDirectionalLightApi, [hemisphere]IHemisphereLightApi, [point]IPointLightApi and [spot]ISpotLightApi as this is just a shared interface for all of them.
A light can be created by calling the corresponding method in the [light scene]ILightSceneApi.
A light has a multitude of properties and methods that can be used to adjust the behavior.
The api for a light, please see the definitions for [ambient]IAmbientLightApi, [directional]IDirectionalLightApi, [hemisphere]IHemisphereLightApi, [point]IPointLightApi and [spot]ISpotLightApi as this is just a shared interface for all of them. A light can be created by calling the corresponding method in the [light scene]ILightSceneApi. A light has a multitude of properties and methods that can be used to adjust the behavior.