addLight method

  1. @override
LightSource addLight(
  1. LightSource light
)
override

Adds a light that is not attached to a component.

Implementation

@override
LightSource addLight(LightSource light) {
  _lightSources.add(light);
  return light;
}