Skip to main content

Class: XRTransitionOptions

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

Options for the XR transition effect.

Constructors

Constructor

new XRTransitionOptions(): XRTransitionOptions

Returns

XRTransitionOptions

Properties

defaultBackgroundColor

defaultBackgroundColor: number = 0xffffff

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

The default background color for VR transitions.


enabled

enabled: boolean = false

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

Whether the transition effect is enabled.


transitionTime

transitionTime: number = 0.5

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

The duration of the transition in seconds.