setMainCamera method

  1. @override
Future 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 setMainCamera() async {
  _module.ccall(
      "set_main_camera", "void", ["void*".toJS].toJS, [_viewer!].toJS, null);
}