Variables

Model

The variable Model is available in every scene script and has the following properties.

In Script: Model.NameOfVariable

Name
Type
Description

Model.Clock

DateTimeOffset

Current time of day including optional time offset set on link

Model.UtClock

DateTimeOffset

Current time in UTC

Model.ReferenceTime

DateTimeOffset?

Reference time set on link. Usually this is the start time of day

Model.HasRerenceTime

Bool

Checks for a rference time is set

Model.Countdown

TimeSpan?

Current countdown if reference time is set reference time is in the future

Model.IsCountdown

Bool

Checks for is before reference time

Model.Runtime

TimeSpan?

Current runtime if reference time is set and reference time is in the past

Model.IsRuntime

Bool

Checks for is after reference time

Model.Scene

This variable holds information on the currently selected scene.

In Script: Model.Scene.NameOfVariable

Name
Type
Description

Model.Scene.UserDesxcription

String?

User given name of the scene

Model.Scene.DisplayTargetTime

DateTimeOffset

Target timeo f the scene only

Last updated