Skip to main content

Class: XRTransitionOptions

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

Options for the XR transition effect.

Constructors​

Constructor​

new XRTransitionOptions(): XRTransitionOptions

Returns​

XRTransitionOptions

Properties​

defaultBackgroundColor​

defaultBackgroundColor: number = 0xffffff

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

The default background color for VR transitions.


enabled​

enabled: boolean = false

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

Whether the transition effect is enabled.


transitionTime​

transitionTime: number = 0.5

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

The duration of the transition in seconds.