ELight constructor

ELight(
  1. double flickerOn,
  2. double flickerOff,
  3. ERelative blur,
  4. ERelative blurPulseRange,
  5. double blurPulseSpeed, {
  6. String name = "",
})

Implementation

ELight(this.flickerOn, this.flickerOff, this.blur, this.blurPulseRange,
    this.blurPulseSpeed,
    {String name = ""})
    : super(true, true, name: name) {
  this._currentBlur = blur.getAbsoluteValue(Size(0, 0));
  if (blurPulseSpeed < 0 || blurPulseSpeed > 1) {
    throw ("blurPulseSpeed has a value of $blurPulseSpeed, while a value within 0 and 1 was expected. Class: ELight");
  }
}