copy method

  1. @override
SkinnedMesh copy(
  1. Object3D source, [
  2. bool? recursive
])
override

Implementation

@override
SkinnedMesh copy(Object3D source, [bool? recursive]) {
  super.copy(source);

  SkinnedMesh source1 = source as SkinnedMesh;

  bindMode = source1.bindMode;
  bindMatrix!.copy(source1.bindMatrix!);
  bindMatrixInverse.copy(source1.bindMatrixInverse);

  skeleton = source1.skeleton;

  return this;
}