unreal.SunPositionData

class unreal.SunPositionData(elevation=0.0, corrected_elevation=0.0, azimuth=0.0, sunrise_time=[0, 0, 0, 0, 0], sunset_time=[0, 0, 0, 0, 0], solar_noon=[0, 0, 0, 0, 0])

Bases: unreal.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
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