Aller au contenu

Message HrzProtocol.SunDirection

Defined in hrz/protocol/scene/view_settings.proto.


mode: HrzProtocol.SunDirectionMode

local_solar_time: float

Solar time at the camera position. 0 = midnight, 12 = noon. Used when mode is set to SUN_DIRECTION_RELATIVE_TO_DATE.


day_of_year: float

0 = January 1st. Used when mode is set to SUN_DIRECTION_RELATIVE_TO_DATE.


azimuth: float

Angle in radians within [0; 2π[ with the reference direction. Counterclockwise. Used when mode is not set to SUN_DIRECTION_RELATIVE_TO_DATE.


altitude: float

Angle in radians within [-π/2; π/2[ with the horizon at 0. Used when mode is not set to SUN_DIRECTION_RELATIVE_TO_DATE.