loadIbl method

  1. @JSExport()
JSPromise<JSAny?> loadIbl(
  1. String lightingPath,
  2. double intensity
)

Implementation

@JSExport()
JSPromise loadIbl(String lightingPath, double intensity) {
  _logger.info("Loading IBL from $lightingPath with intensity $intensity");
  return viewer.loadIbl(lightingPath, intensity: intensity).toJS;
}