unreal.SunPositionData

class unreal.SunPositionData(elevation: float = 0.0, corrected_elevation: float = 0.0, azimuth: float = 0.0, sunrise_time: Timespan = Ellipsis, sunset_time: Timespan = Ellipsis, solar_noon: Timespan = Ellipsis)

Bases: StructBase

Sun Position Data

C++ Source:

  • Plugin: SunPosition

  • Module: SunPosition

  • File: SunPosition.h

Editor Properties: (see get_editor_property/set_editor_property)

  • azimuth (float): [Read-Write] Sun azimuth

  • corrected_elevation (float): [Read-Write] Sun Elevation, corrected for atmospheric diffraction

  • elevation (float): [Read-Write] Sun Elevation

  • solar_noon (Timespan): [Read-Write] Solar noon

  • sunrise_time (Timespan): [Read-Write] Sunrise time

  • sunset_time (Timespan): [Read-Write] Sunset time

property azimuth: float

[Read-Write] Sun azimuth

Type:

(float)

property corrected_elevation: float

[Read-Write] Sun Elevation, corrected for atmospheric diffraction

Type:

(float)

property elevation: float

[Read-Write] Sun Elevation

Type:

(float)

property solar_noon: Timespan

[Read-Write] Solar noon

Type:

(Timespan)

property sunrise_time: Timespan

[Read-Write] Sunrise time

Type:

(Timespan)

property sunset_time: Timespan

[Read-Write] Sunset time

Type:

(Timespan)