You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
2
2
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
/// A class containing helper methods for asset cloning.
7
+
/// </summary>
8
+
publicstaticclassAssetCloningHelper
7
9
{
8
10
/// <summary>
9
-
/// A class containing helper methods for asset cloning.
11
+
/// Updates the paths in the given <see cref="YamlAssetMetadata{T}"/> instance to reflect that new <see cref="Guid"/> have been generated after cloning,
12
+
/// when <see cref="AssetClonerFlags.GenerateNewIdsForIdentifiableObjects"/> has been used.
10
13
/// </summary>
11
-
publicstaticclassAssetCloningHelper
14
+
/// <typeparam name="T">The type of content in the metadata.</typeparam>
15
+
/// <param name="metadata">The metadata to update.</param>
16
+
/// <param name="idRemapping">A dictionary representing the mapping between initial ids and their corresponding id in the cloned object.</param>
17
+
/// <param name="basePath">If not null, this method will apply the remapping only for paths that are contained in the given base path.</param>
/// Updates the paths in the given <see cref="YamlAssetMetadata{T}"/> instance to reflect that new <see cref="Guid"/> have been generated after cloning,
15
-
/// when <see cref="AssetClonerFlags.GenerateNewIdsForIdentifiableObjects"/> has been used.
16
-
/// </summary>
17
-
/// <typeparam name="T">The type of content in the metadata.</typeparam>
18
-
/// <param name="metadata">The metadata to update.</param>
19
-
/// <param name="idRemapping">A dictionary representing the mapping between initial ids and their corresponding id in the cloned object.</param>
20
-
/// <param name="basePath">If not null, this method will apply the remapping only for paths that are contained in the given base path.</param>
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
2
2
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
0 commit comments