copy method

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

Copy the parameters from the passed material into this material.

Implementation

@override
RawShaderMaterial copy(Material source) {
  super.copy(source);
  type = 'RawShaderMaterial';
  return this;
}