struct

DayNightComponent

Module
Game
Header
#include "Game/Components/DayNightComponent.h"
Namespace
Mowo
Reflection
Reflected by MowoHeaderTool

Properties

TypeNameDescription
boolenabledDefault true.
floattimeOfDayDefault 12.0f.
boolanimateDefault false.
floatdayLengthSecondsDefault 120.0f.
floatazimuthDegreesDefault 0.0f.
floatsunIntensityDefault 1.4f.
Vec3dayColorDefault Vec3(1.0f, 0.98f, 0.92f).
Vec3horizonColorDefault Vec3(1.0f, 0.55f, 0.28f).
floatnightIntensityDefault 0.02f.
floatskyDayIntensitySky-light gain across the cycle. Applied to a SkyLightComponent on the same entity; the night floor keeps a moonlit scene readable instead of pitch black. Default 1.0f.
floatskyNightIntensityDefault 0.15f.
std::stringenvironmentProfile

Constructors

SignatureNameDescription
DayNightComponent() = defaultDayNightComponent

Function details

DayNightComponent

C++
DayNightComponent() = default
Generated from Game/Components/DayNightComponent.h via game.json · Nov 5, 2026Version 1.0.0