B.405. SolarPosition

Description. Calculates the position of the Sun based on observer position, date, and time.

Plugin Status. Experimental

Categories. All Plugins, Experimental Plugins, Simulation Plugins

Table B.359. SolarPosition Properties

Label Description Type Script Name

Latitude

Observer latitude (decimal degrees).

k3d::double_t

latitude

Longitude

Observer longitude (decimal degrees).

k3d::double_t

longitude

Time

Time since 1970-1-1, in seconds.

k3d::double_t

time

Time Zone Offset

Time zone offset in minutes, [-720, +720]. Note that you must adjust the timezone manually to account for daylight savings time.

k3d::int32_t

time_zone_offset

North

Specifies which direction will be treated as North.

k3d::vector3

north

East

Specifies which direction will be treated as East.

k3d::vector3

east

Up

Specifies which direction will be treated as up.

k3d::vector3

up

Solar Position

Solar position.

k3d::vector3

position