copy method

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

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

Implementation

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