setBackgroundColor method

  1. @JSExport()
JSPromise<JSAny?> setBackgroundColor(
  1. double r,
  2. double g,
  3. double b,
  4. double alpha,
)

Implementation

@JSExport()
JSPromise setBackgroundColor(double r, double g, double b, double alpha) =>
    viewer.setBackgroundColor(r, g, b, alpha).toJS;