backgroundOpacity property

dynamic get backgroundOpacity

Implementation

get backgroundOpacity => this.uniforms['backgroundOpacity']['value'];
set backgroundOpacity (dynamic backgroundOpacity)

Implementation

set backgroundOpacity(backgroundOpacity) {
  this.uniforms['backgroundOpacity']['value'] = backgroundOpacity;
  if (backgroundOpacity < 1 && !this.transparent) {
    console.warning('You have to pass "transparent: true" to the ProjectedMaterial for the backgroundOpacity option to work');
  }
}