copy method

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

Implementation

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

  RectAreaLight source1 = source as RectAreaLight;

  width = source1.width;
  height = source1.height;

  return this;
}