Skip to main content

Class: XRTransitionOptions

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

Options for the XR transition effect.

Constructors

Constructor

new XRTransitionOptions(): XRTransitionOptions

Returns

XRTransitionOptions

Properties

defaultBackgroundColor

defaultBackgroundColor: number = 0xffffff

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

The default background color for VR transitions.


enabled

enabled: boolean = false

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

Whether the transition effect is enabled.


transitionTime

transitionTime: number = 0.5

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

The duration of the transition in seconds.