SolarLightProps Interface

Wire format for the solar directional light associated with a LightSettingsProps. The light is colored white and oriented in any direction in world coordinates. It will cast shadows if it is above the world XY plane and if the shadows view flag is enabled for the view. By default, the solar light is only applied when shadows are enabled, but can be set to be applied unconditionally.

Properties

Name Type Description
alwaysEnabled boolean | undefined If true, the light will be applied even when shadows are turned off for the view.  
direction XYZProps | undefined Direction of the light in world coordinates.  
intensity number | undefined Intensity of the light, typically in [0..1] but can range up to 5.  
timePoint number | undefined If defined, the time in UNIX milliseconds from which direction was calculated.  

Defined in

Last Updated: 21 November, 2024