copy method

  1. @override
BufferAttribute<NativeArray<num>> copy(
  1. BufferAttribute<NativeArray<num>> source
)
override

Implementation

@override
BufferAttribute copy(BufferAttribute source) {
  super.copy(source);
  if (source is InstancedBufferAttribute) {
    meshPerAttribute = source.meshPerAttribute;
  }
  return this;
}