update method

dynamic update()

Implementation

update() {
  if (color != null) {
    material.color.set(color);
  } else {
    material.color.copy(light.color);
  }

  /*
		const d = this.light.distance;

		if ( d === 0.0 ) {

			this.lightDistance.visible = false;

		} else {

			this.lightDistance.visible = true;
			this.lightDistance.scale.set( d, d, d );

		}
		*/
}