LightProbe.create constructor

LightProbe.create([
  1. SphericalHarmonics3? sh,
  2. double intensity = 1.0
])

sh - (optional) An instance of SphericalHarmonics3.

intensity - (optional) Numeric value of the light probe's intensity. Default is 1.

Implementation

LightProbe.create([SphericalHarmonics3? sh, double intensity = 1.0]) : super(null, intensity){
  this.sh = sh;
  type = 'LightProbe';
}