WebGLBackground constructor

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

Implementation

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