loadSkybox method
Load a skybox from skyboxPath
(which must be a .ktx file)
Implementation
@override
Future loadSkybox(String skyboxPath) async {
var promise = _module.ccall(
"load_skybox",
"void",
["void*".toJS, "string".toJS].toJS,
[_viewer!, skyboxPath.toJS].toJS,
{"async": true}.jsify()) as JSPromise;
await promise.toDart;
}