clone method

  1. @override
MeshDepthMaterial clone()
override

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

Implementation

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