Skip to content

Get Sansar

Script API

TimeOfDayMode

Where: Client
More page actions

For the complete documentation index, see llms.txt. This page is also available as Markdown.

Enum Namespace Sansar.Simulation New in 47.10.0

How a scene’s time of day runs.

public enum TimeOfDayMode

Remarks

See ScenePrivate.GetTimeOfDayMode and ScenePrivate.SetTimeOfDayMode.

Values

ValueDescription
Cycle New in 47.10.0The clock runs. A full day takes the day length chosen in the scene settings.
Fixed New in 47.10.0The sun is held at the set time of day.
Off New in 47.10.0The scene as authored. The sun stays where its light points and the time of day has no effect.

Used in examples

  • TimeOfDayExample.cs

Generated from the Sansar 47.10.0 client ScriptApi snapshot.