copy method

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

Copy the parameters from the passed material into this material.

Implementation

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

  color.setFrom(source.color);

  linewidth = source.linewidth;
  linecap = source.linecap;
  linejoin = source.linejoin;

  fog = source.fog;

  return this;
}