Members

RenderMode

(constant) :string

Enum representing different media formats and display modes.

Properties:
Name Type Description
AUDIO string

Represents audio format

MONOSCOPIC string

Represents monoscopic display mode

SIDE_BY_SIDE string

Represents side-by-side display mode

NONE string

Represents no media format or display mode

Type Definitions

AframeCompass

Configuration object for compass component. Visual element that indicates the user's position on the x and y axes.

Properties:
Name Type Description
enabled boolean

Disables the component from being loaded if set to false.

AframeTouch

This is a custom component which allows inverted touch dragging, when the touch property is enabled in the configuration Aframe look-controls will be ignored. Touch Controls component will automatically be loaded when vrmode property is set to false, indicating the player to avoid any VR feature such as Gyroscope or Mouse dragging.

Properties:
Name Type Description
enabled boolean

Disables the component from being loaded if set to false.

ThemeConfig

Configuration object for theme settings. Defines the colors and opacities for various UI elements.

Properties:
Name Type Description
foreground string

The color code for the foreground elements (e.g., text).

background string

The color code for the background elements.

window string

The color code for the window elements.

windowOpacity number

The opacity level for the window elements (0 to 1).

backgroundOpacity number

The opacity level for the background elements (0 to 1).

foregroundOpacity number

The opacity level for the foreground elements (0 to 1).