UAdvancedCopyCustomization

Windows
MacOS
Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UAdvancedCopyCustomization

References

Module

AssetTools

Header

/Engine/Source/Developer/AssetTools/Public/AdvancedCopyCustomization.h

Include

#include "AdvancedCopyCustomization.h"

Syntax

class UAdvancedCopyCustomization : public UObject

Variables

Name Description

Protected variable

bool

 

bShouldGenerateRelativePaths

Whether or not the destinations for copy should be relative to the package that initiated the copy

Protected variable

FARFilter

 

FilterForExcludingDependencies

The filter to use when finding valid dependencies to also copy

Protected variable

FString

 

PackageThatInitiatedCopy

The path of the package that caused this customization to be used

Constructors

Name Description

Public function

UAdvancedCopyCustomization

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Virtual Const

void

 

ApplyAdditionalFiltering

(
    TArray< FName >& PackagesToCopy
)

Apply any additional filtering after the ARFilter is run on the packages to copy

Public function Virtual Const

bool

 

CustomCopyValidate

(
    const TMap< FString, FString >& Ou...
)

Allows for additional validation of the packages to be copied and their destination.

Public function Virtual Const

void

 

EditCopyParams

(
    FAdvancedCopyParams& CopyParams
)

Allows the customization to edit the parameters for the whole copy operation

Public function Const

FARFilter

 

GetARFilter()

Returns the ARFilter for this advanced copy

Public function Const

const FStrin...

 

GetPackageThatInitiatedCopy()

Public function Const

bool

 

GetShouldGenerateRelativePaths()

Getter for whether or not we should generate relative paths for this advanced copy

Public function

void

 

SetPackageThatInitiatedCopy

(
    const FString& InBasePackage
)

Store the path of the package that caused this customization to be used

Public function Virtual Const

void

 

TransformDestinationPaths

(
    TMap< FString, FString >& OutPacka...
)

Once the destination map is generated for the set of assets, the destinations can be manipulated for renaming, restructuring, etc.