public static void SkeletonCopyMeshes2(MeshTreeTag[] dst, MeshTreeTag[] src, int tagsCount) { for (var i = 0; i < tagsCount; i++) { dst[i].MeshSkin = src[i].MeshBase; } }
public static MeshTreeTag[] SkeletonClone(MeshTreeTag[] src, int tagsCount) { var ret = new MeshTreeTag[tagsCount]; for (var i = 0; i < tagsCount; i++) { ret[i] = new MeshTreeTag { MeshBase = src[i].MeshBase, MeshSkin = src[i].MeshSkin, Flag = src[i].Flag, Offset = src[i].Offset, ReplaceAnim = src[i].ReplaceAnim, ReplaceMesh = src[i].ReplaceMesh }; } return ret; }