clone method

  1. @override
MeshPhongMaterial clone()
override

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

Implementation

@override
MeshPhongMaterial clone() {
  return MeshPhongMaterial()..copy(this);
}