setCameraExposure method

  1. @override
Future setCameraExposure(
  1. double aperture,
  2. double shutterSpeed,
  3. double sensitivity
)
override

Sets the camera exposure.

Implementation

@override
Future setCameraExposure(
    double aperture, double shutterSpeed, double sensitivity) async {
  _module.ccall(
      "set_camera_exposure",
      "void",
      ["void*".toJS, "float".toJS, "float".toJS, "float".toJS].toJS,
      [
        _viewer!,
        aperture.toJS,
        shutterSpeed.toJS,
        sensitivity.toJS,
      ].toJS,
      null);
}