Get Time Of Day Normalized
PureGetTimeOfDayNormalizedReturns the current time of day as a normalized 0-1 value (0=midnight, 0.5=noon).
Type: Pure (no side effects)
Category: Fortuna|Time & Date
Keywords: time & date
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| CurrentGameTimeSeconds | float | — | CurrentGameTimeSeconds parameter |
| DayLengthSeconds | float | — | DayLengthSeconds parameter |
Outputs
| Name | Type | Description |
|---|---|---|
| ReturnValue | float 0-1 | ReturnValue output |
Example Use Cases
Example 1
Drive a sun position curve.
Example 2
Control ambient light intensity over the day cycle.