Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Lighting

Hierarchy

Index

Properties

date

date: Date

The time and date for which the sun position and light direction is computed.

Read more...

declaredClass

declaredClass: string

destroyed

destroyed: boolean

directShadowsEnabled

directShadowsEnabled: boolean

Indicates whether to show shadows cast by the sun.

Read more...

displayUTCOffset

displayUTCOffset: number

The UTC time zone offset in hours that should be displayed in the UI to represent the date.

Read more...

initialized

initialized: boolean

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

  • _set<T>(propertyName: string, value: T): Lighting
  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns Lighting

clone

  • Creates a deep clone of this object.

    Read more...

    Returns Lighting

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

isFulfilled

  • isFulfilled(): boolean
  • isFulfilled() may be used to verify if creating an instance of the class is fulfilled (either resolved or rejected).

    Read more...

    Returns boolean

isRejected

  • isRejected(): boolean
  • isRejected() may be used to verify if creating an instance of the class is rejected.

    Read more...

    Returns boolean

isResolved

  • isResolved(): boolean
  • isResolved() may be used to verify if creating an instance of the class is resolved.

    Read more...

    Returns boolean

Protected notifyChange

  • notifyChange(propertyName: string): void
  • Parameters

    • propertyName: string

    Returns void

set

  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns Lighting

  • Parameters

    Returns Lighting

watch

  • Parameters

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

    Returns WatchHandle

when

  • when(callback?: Function, errback?: Function): Promise<any>
  • when() may be leveraged once an instance of the class is created.

    Read more...

    Parameters

    • Optional callback: Function
    • Optional errback: Function

    Returns Promise<any>

Generated using TypeDoc