setFrameRate method
Sets the framerate for continuous rendering when setRendering is enabled.
Implementation
@override
Future setFrameRate(int framerate) async {
_module.ccall(
"set_frame_interval",
"void",
["void*".toJS, "float".toJS].toJS,
[_viewer!, (1 / framerate).toJS].toJS,
null);
}