copy method

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

Implementation

@override
PointsMaterial copy(Material source) {
  super.copy(source);
  color.copy(source.color);

  map = source.map;
  alphaMap = source.alphaMap;
  size = source.size;
  sizeAttenuation = source.sizeAttenuation;

  fog = source.fog;

  return this;
}