setFreeCameraOptions method
- FreeCameraOptions options
Places the camera at a position and orientation in space.
The map adjusts them to a camera that it can show. It stops running camera
animations first, and their end handlers report
CameraTransitionOutcome.cancelled.
See mln_map_set_free_camera_options in the
C API reference.
Implementation
Future<CommandCompletion> setFreeCameraOptions(FreeCameraOptions options) =>
_command(
(arena, completion) => raw.mln_map_set_free_camera_options(
_handle.raw,
_writeFreeCameraOptions(options, arena),
completion,
nativeDiagnostic,
),
);