Function getMotionController

  • Retrieves the motion controller associated with a specific XR input source

    Parameters

    • xrInputSource: XRInputSource

      The XR input source to get the motion controller for

    Returns undefined | MotionController

    The motion controller if found, undefined otherwise