setDart method

  1. @override
Model setDart(
  1. Model o
)
override

Copies the fields of o into this instance.

Implementation

@override
Model setDart(Model o) {
  transform.setDart(o.transform);
  meshCount = o.meshCount;
  materialCount = o.materialCount;
  meshes = .from(o.meshes);
  materials = .from(o.materials);
  meshMaterial = .from(o.meshMaterial);
  skeleton.setDart(o.skeleton);
  currentPose = .from(o.currentPose);
  boneMatrices = .from(o.boneMatrices);
  return this;
}