Lerp Time Of Day
PureLerpTimeOfDayInterpolates between two times of day, taking the shortest path across midnight.
Type: Pure (no side effects)
Category: Fortuna|Time & Date
Keywords: time & date
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| TimeA | float, hours 0-24 | — | TimeA parameter |
| TimeB | float, hours 0-24 | — | TimeB parameter |
| Alpha | float 0-1 | — | Alpha parameter |
Outputs
| Name | Type | Description |
|---|---|---|
| ReturnValue | float, hours 0-24 | ReturnValue output |
Example Use Cases
Example 1
Smooth transition when teleporting between time zones.
Example 2
Blend between two time-of-day presets.