RectAreaLight constructor
RectAreaLight({})
Creates a RectAreaLight.
Implementation
RectAreaLight({
Vector3? color,
this.intensity = 1.0,
this.width = 1.0,
this.height = 1.0,
this.range = 0.0,
}) : color = color ?? Vector3(1.0, 1.0, 1.0);