setCameraManipulatorOptions method
Future
setCameraManipulatorOptions({
- ManipulatorMode? mode,
- double orbitSpeedX = 0.01,
- double orbitSpeedY = 0.01,
- double zoomSpeed = 0.01,
override
Implementation
@override
Future setCameraManipulatorOptions(
{ManipulatorMode? mode,
double orbitSpeedX = 0.01,
double orbitSpeedY = 0.01,
double zoomSpeed = 0.01}) async {
if (mode != null) {
_cameraMode = mode;
}
if (_cameraMode != ManipulatorMode.ORBIT) {
throw Exception("Manipulator mode $mode not yet implemented");
}
set_camera_manipulator_options(
_viewer!, _cameraMode.index, orbitSpeedX, orbitSpeedX, zoomSpeed);
}