LightingSystemOptions
Index
Properties
optionalambientColor
optionalambientIntensity
Overrides EngineOptions.lighting's ambientIntensity for this scene's instance.
optionalpos
Fixed anchor screen positioning coordinate. When omitted the overlay is anchored to the top left of the full visible canvas (Screen.unsafeArea) every frame.
optionalscreenElement
Hook an external ScreenElement host rather than provisioning an independent one. The caller becomes responsible for its position and size.
optionalsize
Fixed resolution dimensions. Defaults to tracking the screen Screen.resolution when omitted.
Type declaration
height: number
width: number
optionalzIndex
The z-index of the provisioned lighting overlay. Defaults to 100.
Overrides EngineOptions.lighting's
ambientColorfor this scene's instance.