Funzione statica
Moderato
Sky.SetAnimateTimeOfDay
Sets whether or not to animate the time of day
Non ancora tradotto
Sintassi
Sky.SetAnimateTimeOfDay(animate, day_length = 30.0, night_length = 15.0)
Parametri
| Nome | Tipo | Predefinito | Descrizione |
|---|---|---|---|
animate
|
boolean | — | Whether or not to animate the time of day |
day_length
facoltativo
|
float? | 30.0 |
The time (in minutes) from sunrise to sunset |
night_length
facoltativo
|
float? | 15.0 |
The time (in minutes) from sunset to sunrise |