The color of the light.
Can be specified as a Color
value, a StyleZoomRange<Color>
, a function that returns a Color
based on zoom level, or a StyleExpression<Color>
.
The direction of the light, represented as a vector. This determines the direction from which the light is coming.
The intensity of the light. This property is optional and defaults to 1 if not specified.
The type of light. For DirectionalLight
, this is always 'directional'.
Generated using TypeDoc
The
DirectionalLight
interface represents directional lighting, which simulates light coming from a specific direction.