WebGLBackground constructor

WebGLBackground(
  1. WebGLRenderer renderer,
  2. WebGLCubeMaps cubemaps,
  3. WebGLState state,
  4. WebGLObjects objects,
  5. bool alpha,
  6. bool premultipliedAlpha,
)

Implementation

WebGLBackground(this.renderer, this.cubemaps, this.state, this.objects,
    this.alpha, this.premultipliedAlpha) {
  clearAlpha = alpha == true ? 0.0 : 1.0;
}