• Add a listener for when an XR session starts This event is triggered when the XR session is started, either by the user or by the application before all other XR start events

    Parameters

    • fn: ((evt) => void)

      The function to call when the XR session starts

        • (evt): void
        • Parameters

          • evt: XRSessionEventArgs

          Returns void

    Returns void

    Example

    onXRSessionStart((evt) => {
    console.log("XR session started", evt);
    });

Generated using TypeDoc