FlutterWebXrWeb constructor

FlutterWebXrWeb()

Constructor for FlutterWebXrWeb. Initializes XRController and other members.

Implementation

FlutterWebXrWeb() {
  try {
    rendererController = RendererController(canvas: canvas);

    xrController =
        XRController(rendererController, sceneController, cameraController);
  } catch (e) {
    throw Exception('Failed to instantiate XRController: $e');
  }
}