Skip to main content

Class: XRTransitionOptions

Defined in: src/core/Options.ts:95

Options for the XR transition effect.

Constructors​

Constructor​

new XRTransitionOptions(): XRTransitionOptions

Returns​

XRTransitionOptions

Properties​

defaultBackgroundColor​

defaultBackgroundColor: number = 0xffffff

Defined in: src/core/Options.ts:101

The default background color for VR transitions.


enabled​

enabled: boolean = false

Defined in: src/core/Options.ts:97

Whether the transition effect is enabled.


transitionTime​

transitionTime: number = 0.5

Defined in: src/core/Options.ts:99

The duration of the transition in seconds.