setD method
Copies the fields of the Dart struct o into this instance.
Implementation
@override
MeshD setD(MeshD o) {
originalPointer ??= o.originalPointer;
vertexCount = o.vertexCount;
triangleCount = o.triangleCount;
boneCount = o.boneCount;
vertices = .from(o.vertices);
texcoords = .from(o.texcoords);
texcoords2 = .from(o.texcoords2);
normals = .from(o.normals);
tangents = .from(o.tangents);
colors = .from(o.colors);
indices = .from(o.indices);
animVertices = .from(o.animVertices);
animNormals = .from(o.animNormals);
boneIds = .from(o.boneIds);
boneWeights = .from(o.boneWeights);
boneMatrices = o.boneMatrices.map((x) => x.clone()).toList();
vaoId = o.vaoId;
vboId = .from(o.vboId);
return this;
}