copy method

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

Copy the parameters from the passed material into this material.

Implementation

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

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