struct
DayNightComponent
- Module
- Game
- Header
#include "Game/Components/DayNightComponent.h"- Namespace
Mowo- Reflection
- Reflected by MowoHeaderTool
Properties
| Type | Name | Description |
|---|---|---|
bool | enabled | Default true. |
float | timeOfDay | Default 12.0f. |
bool | animate | Default false. |
float | dayLengthSeconds | Default 120.0f. |
float | azimuthDegrees | Default 0.0f. |
float | sunIntensity | Default 1.4f. |
Vec3 | dayColor | Default Vec3(1.0f, 0.98f, 0.92f). |
Vec3 | horizonColor | Default Vec3(1.0f, 0.55f, 0.28f). |
float | nightIntensity | Default 0.02f. |
float | skyDayIntensity | Sky-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. |
float | skyNightIntensity | Default 0.15f. |
std::string | environmentProfile |
Constructors
| Signature | Name | Description |
|---|---|---|
DayNightComponent() = default | DayNightComponent |
Function details
DayNightComponent
C++
DayNightComponent() = defaultGenerated from Game/Components/DayNightComponent.h via game.json · Nov 5, 2026Version 1.0.0