Options
All
  • Public
  • Public/Protected
  • All
Menu

Defines the interface to a SceneLightingController, which controls the main 3D scene light.

Hierarchy

  • ISceneLightingController

Implemented by

Index

Properties

ambientLight

ambientLight: number

Gets or sets the ambient light intensity.

Readonly lightDirection

lightDirection: Vector3

Gets the configured main light direction in world space.

lightMode

lightMode: EMainLightMode

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

Methods

setLightDirection

  • setLightDirection(lightDirection: Vector3): void
  • Sets the configured main light direction in world space.

    Parameters

    Returns void

toJSON

  • Convert the object to a definition that can be serialized to JSON, or used directly with the builder api.

    Returns ISceneLightingControllerOptions

Generated using TypeDoc