copy method

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

Implementation

@override
MeshDepthMaterial copy(Material source) {
  super.copy(source);

  depthPacking = source.depthPacking;

  map = source.map;

  alphaMap = source.alphaMap;

  displacementMap = source.displacementMap;
  displacementScale = source.displacementScale;
  displacementBias = source.displacementBias;

  wireframe = source.wireframe;
  wireframeLinewidth = source.wireframeLinewidth;

  return this;
}