clone method

  1. @override
MeshToonMaterial clone()
override

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

Implementation

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