Options
All
  • Public
  • Public/Protected
  • All
Menu

Optional parameters passed to a SceneLightingController at construct time.

Hierarchy

  • ISceneLightingControllerOptions

Index

Properties

Optional ambientLight

ambientLight: number

Gets or sets the ambient light intensity. 0 is fully dark, 1 is the default ambient.

note

The value can be greater than 1 to achieve a more brightly lit scene, but use with caution as this can reduce contrast.

Optional lightDirection

lightDirection: Vector3 | { x: number; y: number; z: number }

Gets or sets the main light direction in world space.

Only used when lightMode is EMainLightMode.GlobalSpace. Default new Vector3(-0.25, 0.5, -0.25)

Optional lightMode

lightMode: EMainLightMode

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

Default EMainLightMode.CameraForward

Generated using TypeDoc