copy method

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

Copies value of all the properties from the source to this RectAreaLight.

Implementation

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

  RectAreaLight source1 = source as RectAreaLight;

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

  return this;
}