LightingTweenOptions
The settings you pass to Lighting:tween to choose how the time of day, fog or light should change and how long that takes.
Fields
clock
number?
The time of day to reach, from 0 to 24, and the clock always moves forward to get there.
cycle_minutes
number?
How many minutes a whole day takes, where 0 stops the clock.
ambient_color
The color the ambient light blends to over the tween.
ambient_strength
number?
How strong the ambient light becomes by the end of the tween.
exposure
number?
The camera exposure to blend to over the tween.
brightness
number?
How bright the sun becomes by the end of the tween.
fog_color
The color of both fogs, the distance fog and the ground fog.
fog_start
number?
How many studs from the camera the fog begins.
fog_end
number?
How many studs from the camera the fog is at its thickest.
fog_height
number?
The height at which the ground fog is at its thickest.
fog_thickness
number?
How many studs above
fog_height the ground fog takes to thin out.fog_density
number?
How thick the ground fog is, from 0, which is off, to 1.
duration
number
How many seconds the tween takes to finish.
easing
string?
How the change speeds up and slows down:
linear, or quad, sine, cubic, quart, expo, back, bounce or elastic followed by _in, _out or _in_out.lineardefaultquad_out