rhodonite
    Preparing search index...

    Function createMotionController

    • Creates and initializes a motion controller for a WebXR input source

      Parameters

      • engine: Engine
      • xrInputSource: XRInputSource

        The WebXR input source to create a controller for

      • basePath: string

        Base path for loading controller assets

      • _profilePriorities: string[]

      Returns Promise<ISceneGraphEntity>

      Promise that resolves to the root entity of the controller model