startSession method

  1. @override
Future<void> startSession()
override

Initiates a WebXR session.

Implementation

@override
Future<void> startSession() async {
  try {
    await xrController.requestSession();
    xrController.startFrameHandler();
  } catch (e) {
    throw Exception('Failed to start xr session');
  }
}