setCameraPosition method
Set the camera position in world space. Note this is not persistent - any viewport navigation will reset the camera transform.
Implementation
@override
Future setCameraPosition(double x, double y, double z) async {
_module.ccall(
"set_camera_position",
"void",
["void*".toJS, "float".toJS, "float".toJS, "float".toJS].toJS,
[_viewer!, x.toJS, y.toJS, z.toJS].toJS,
null);
}