@aws-amplify/xr

  • Version 3.0.26
  • Published
  • 339 kB
  • 1 dependency
  • Apache-2.0 license

Install

npm i @aws-amplify/xr
yarn add @aws-amplify/xr
pnpm add @aws-amplify/xr

Overview

XR category of aws-amplify

Index

Variables

variable XR

const XR: XRClass;

    Classes

    class SumerianProvider

    class SumerianProvider extends AbstractXRProvider {}

      constructor

      constructor(options?: ProviderOptions);

        method enableAudio

        enableAudio: (sceneName: string) => void;

          method enterVR

          enterVR: (sceneName: string) => void;

            method exitVR

            exitVR: (sceneName: string) => void;

              method getProviderName

              getProviderName: () => string;

                method getSceneController

                getSceneController: (sceneName: string) => any;

                  method isMuted

                  isMuted: (sceneName: string) => boolean;

                    method isSceneLoaded

                    isSceneLoaded: (sceneName: string) => any;

                      method isVRCapable

                      isVRCapable: (sceneName: string) => boolean;

                        method isVRPresentationActive

                        isVRPresentationActive: (sceneName: string) => boolean;

                          method loadScene

                          loadScene: (
                          sceneName: string,
                          domElementId: string,
                          sceneOptions: SumerianSceneOptions
                          ) => Promise<void>;

                            method onSceneEvent

                            onSceneEvent: (
                            sceneName: string,
                            eventName: string,
                            eventHandler: Function
                            ) => void;

                              method setMuted

                              setMuted: (sceneName: string, muted: boolean) => void;

                                method start

                                start: (sceneName: string) => void;

                                  class XRError

                                  class XRError extends Error {}

                                    class XRNoDomElement

                                    class XRNoDomElement extends XRError {}

                                      class XRNoSceneConfiguredError

                                      class XRNoSceneConfiguredError extends XRError {}

                                        class XRProviderNotConfigured

                                        class XRProviderNotConfigured extends XRError {}

                                          class XRSceneLoadFailure

                                          class XRSceneLoadFailure extends XRError {}

                                            class XRSceneNotFoundError

                                            class XRSceneNotFoundError extends XRError {}

                                              class XRSceneNotLoadedError

                                              class XRSceneNotLoadedError extends XRError {}

                                                Package Files (4)

                                                Dependencies (1)

                                                Dev Dependencies (0)

                                                No dev dependencies.

                                                Peer Dependencies (0)

                                                No peer dependencies.

                                                Badge

                                                To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                                                You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@aws-amplify/xr.

                                                • Markdown
                                                  [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@aws-amplify/xr)
                                                • HTML
                                                  <a href="https://www.jsdocs.io/package/@aws-amplify/xr"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>