AmbientLight constructor

AmbientLight([
  1. int? color,
  2. double? intensity
])

color - (optional) Color value of the RGB component of the color. Default is 0xffffff.

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

Creates a new name.

Implementation

AmbientLight([super.color, super.intensity]){
  type = 'AmbientLight';
}