Skip to main content

Class: XRTransitionOptions

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

Options for the XR transition effect.

Constructors

Constructor

new XRTransitionOptions(): XRTransitionOptions

Returns

XRTransitionOptions

Properties

defaultBackgroundColor

defaultBackgroundColor: number = 0xffffff

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

The default background color for VR transitions.


enabled

enabled: boolean = false

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

Whether the transition effect is enabled.


transitionTime

transitionTime: number = 0.5

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

The duration of the transition in seconds.