copy method

LightShadow copy(
  1. LightShadow source
)

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

Implementation

LightShadow copy(LightShadow source) {
  camera = source.camera?.clone();
  bias = source.bias;
  radius = source.radius;
  mapSize.setFrom(source.mapSize);

  return this;
}