copy method

  1. @override
ShadowMaterial copy(
  1. Material source
)
override

Implementation

@override
ShadowMaterial copy(Material source) {
  super.copy(source);

  color.copy(source.color);
  fog = source.fog;
  return this;
}