copy method

  1. @override
HemisphereLight copy(
  1. Object3D source, [
  2. bool? recursive
])
override

Copies the value of color, intensity and groundColor from the source light into this one.

Implementation

@override
HemisphereLight copy(Object3D source, [bool? recursive]) {
  super.copy(source);
  HemisphereLight source1 = source as HemisphereLight;
  groundColor!.setFrom(source1.groundColor!);
  return this;
}