/content/guides/simstad/simstad.png

Light

Contributors

mange61
guser40

Funding

formas
smartbuilt

Light

The Light method controls virtual sunlight in Unreal. By specifying a date and time of day, Unreal will simulate natural lighting conditions corresponding to real-world Sweden at that moment. This includes sun angle, intensity, and coloration, using Ultra Dynamic Sky.

Light is set using a LightRequest. There is no response associated with this request.

LightRequest

Sets the simulated date and solar time.

nametyperequireddescription
typestring"LightRequest"
yearnumberYear (2025)
monthnumberMonth (1 – 12)
daynumberDay (1 – 31)
solar_timenumberHour (0.0 – 24.0)

Example request:

{
  "type": "LightRequest",
  "year": 2025,
  "month": 5,
  "day": 20,
  "solar_time": 12
}