Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DaylightViewModel

Hierarchy

Index

Properties

currentSeason

currentSeason: "spring" | "summer" | "fall" | "winter"

A season can be set instead of a date.

Read more...

dayPlaying

dayPlaying: boolean

Starts or pauses the daytime animation cycling through the minutes of the day.

Read more...

declaredClass

declaredClass: string

destroyed

destroyed: boolean

initialized

initialized: boolean

localDate

localDate: Date

The calendar date in the timezone given by utcOffset.

Read more...

playSpeedMultiplier

playSpeedMultiplier: number

Controls the daytime and date animation speed.

Read more...

timeSliderPosition

timeSliderPosition: number

Slider position for the time of day in the timezone given by utcOffset.

Read more...

utcOffset

utcOffset: number

The difference in hours between UTC time and the time displayed in the widget.

Read more...

view

view: SceneView

The view from which the widget will operate.

Read more...

yearPlaying

yearPlaying: boolean

Starts or pauses the date animation cycling through the months of the year.

Read more...

Methods

Protected _get

  • _get(propertyName: string): any
  • _get<T>(propertyName: string): T
  • Parameters

    • propertyName: string

    Returns any

  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

Protected _set

  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns DaylightViewModel

destroy

  • destroy(): void
  • Returns void

get

  • get<T>(propertyName: string): T
  • get(propertyName: string): any
  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

  • Parameters

    • propertyName: string

    Returns any

Protected notifyChange

  • notifyChange(propertyName: string): void
  • Parameters

    • propertyName: string

    Returns void

set

  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns DaylightViewModel

  • Parameters

    Returns DaylightViewModel

watch

  • Parameters

    • path: string | string[]
    • callback: WatchCallback
    • Optional sync: boolean

    Returns WatchHandle

Generated using TypeDoc