clone method

  1. @override
MeshPhysicalMaterial clone()
override

Return a new material with the same parameters as this material.

Implementation

@override
MeshPhysicalMaterial clone() {
  return MeshPhysicalMaterial(<MaterialProperty, dynamic>{}).copy(this);
}