setMainCamera method

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

Sets the current scene camera to the main camera (which is always available and added to every scene by default).

Implementation

@override
Future<void> setMainCamera() async {
  await _shim.setMainCamera().toDart;
}