RectAreaLight constructor
RectAreaLight(
- dynamic color,
- dynamic intensity,
- dynamic width,
- dynamic height,
Implementation
RectAreaLight(color, intensity, width, height) : super(color, intensity) {
type = 'RectAreaLight';
this.width = width ?? 10;
this.height = height ?? 10;
isRectAreaLight = true;
}