copy method

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

Implementation

@override
copy(Object3D source, [bool? recursive]) {
  super.copy.call(source);

  PointLight source1 = source as PointLight;

  distance = source1.distance;
  decay = source1.decay;

  shadow = source1.shadow!.clone();

  return this;
}