Merges asset differences.
More...
Merges asset differences.
Definition at line 16 of file AssetMerge.cs.
Merges the specified assets from base
and from2
into from1
.
- Parameters
-
assetBase | The asset base. |
assetFrom1 | The asset from1. |
assetFrom2 | The asset from2. |
mergePolicy | The merge policy. See AssetMergePolicies for default policies. |
- Returns
- The result of the merge.
- Exceptions
-
System.ArgumentNullException | assetFrom1 or mergePolicy |
Definition at line 72 of file AssetMerge.cs.
References SiliconStudio.Assets.AssetCloner.Clone().
Merges the specified assets from base
and from2
into from1
.
- Parameters
-
assetDiff | A precomputed asset difference. |
mergePolicy | The merge policy. |
previewOnly | if set to true then the merge will not change the object. |
- Returns
- MergePreviewResult.
- Exceptions
-
System.ArgumentNullException | assetDiff or mergePolicy |
Definition at line 89 of file AssetMerge.cs.
References SiliconStudio.Assets.Diff.AssetDiff.Asset1.
A policy that returns the change to apply to the current Diff3Node.
- Parameters
-
- Returns
- The type of merge for the node.
static MergeResult SiliconStudio.Assets.Diff.AssetMerge.MergeWithExternalTool |
( |
Asset |
assetBase0, |
|
|
Asset |
assetFrom1, |
|
|
Asset |
assetFrom2 |
|
) |
| |
|
static |
string SiliconStudio.Assets.Diff.AssetMerge.DefaultMergeTool |
|
staticgetset |
Gets or sets the default merge tool exe filepath.
The default merge tool exe filepath.
Definition at line 57 of file AssetMerge.cs.
The documentation for this class was generated from the following file:
- D:/Projects/Bitbucket Hosting/DoxygenFilesAndSources/Paradox v1.0.0 beta06/sources/assets/SiliconStudio.Assets/Diff/AssetMerge.cs