Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Environment

Hierarchy

Index

Properties

atmosphereEnabled

atmosphereEnabled: boolean

Specifies whether the atmosphere should be displayed.

Read more...

background

background: Background

Specifies how the background of the scene (which lies behind sky, stars and atmosphere) should be displayed.

Read more...

declaredClass

declaredClass: string

destroyed

destroyed: boolean

initialized

initialized: boolean

lighting

lighting: Lighting

Settings for defining the lighting of the scene.

Read more...

starsEnabled

starsEnabled: boolean

Specifies whether stars should be displayed in the sky.

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 Environment

clone

  • Creates a deep clone of this object.

    Read more...

    Returns Environment

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 Environment

  • Parameters

    Returns Environment

watch

  • Parameters

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

    Returns WatchHandle

Generated using TypeDoc