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

    Parameters

    • fn: ((evt) => void)

      The function to call when the XR session ends

        • (evt): void
        • Parameters

          • evt: XRSessionEventArgs

          Returns void

    Returns void

    Example

    onXRSessionEnd((evt) => {
    console.log("XR session ended", evt);
    });

Generated using TypeDoc