Progetto H — API Reference API & Scripting Documentation
Static function Client Moderate

Sky.SetAnimateTimeOfDay

Sets whether or not to animate the time of day

Syntax

Lua
Sky.SetAnimateTimeOfDay(animate, day_length = 30.0, night_length = 15.0)

Parameters

Name Type Default Description
animate boolean Whether or not to animate the time of day
day_length optional float? 30.0 The time (in minutes) from sunrise to sunset
night_length optional float? 15.0 The time (in minutes) from sunset to sunrise