Navigation
API > API/Developer > API/Developer/AssetTools > API/Developer/AssetTools/IAssetTools
References
| Module | AssetTools |
| Header | /Engine/Source/Developer/AssetTools/Public/IAssetTools.h |
| Include | #include "IAssetTools.h" |
UFUNCTION (BlueprintCallable, Category="Editor Scripting | Asset Tools")
void RenameReferencingSoftObjectPaths
(
const TArray< UPackage * > PackagesToCheck,
const TMap< FSoftObjectPath, FSoftObjectPath > & AssetRedirectorMap
)
Remarks
Function that renames all FSoftObjectPath object with the old asset path to the new one.
Parameters
| Name | Description |
|---|---|
| PackagesToCheck | Packages to check for referencing FSoftObjectPath. |
| AssetRedirectorMap | Map from old asset path to new asset path |