Options
All
  • Public
  • Public/Protected
  • All
Menu

The SceneLightingController provides control over the main 3D scene light.

Hierarchy

  • SceneLightingController

Implements

Index

Constructors

constructor

Accessors

ambientLight

  • get ambientLight(): number
  • set ambientLight(value: number): void
  • Gets or sets the ambient light intensity.

    inheritdoc

    Returns number

  • Gets or sets the ambient light intensity.

    inheritdoc

    Parameters

    • value: number

    Returns void

lightDirection

  • Gets the configured main light direction in world space.

    inheritdoc

    Returns Vector3

lightMode

  • Gets or sets how the main scene light direction is calculated.

    inheritdoc

    Returns EMainLightMode

  • Gets or sets how the main scene light direction is calculated.

    inheritdoc

    Parameters

    Returns void

Methods

applyOptions

  • Applies lighting options.

    Parameters

    Returns void

setLightDirection

  • setLightDirection(lightDirection: Vector3): void

toJSON

Generated using TypeDoc