NormalizePackageNames

Takes an array of package names (in any format) and converts them into relative pathnames for each package.

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/PackageHelperFunctions.h

Include

#include "PackageHelperFunctions.h"

Source

/Engine/Source/Editor/UnrealEd/Private/Commandlets/PackageUtilities.cpp

Syntax

bool NormalizePackageNames
(
    TArray< FString > PackageNames,
    TArray< FString > & PackagePathNames,
    const FString & PackageWildcard,
    uint8 PackageFilter
)

Remarks

Takes an array of package names (in any format) and converts them into relative pathnames for each package.

Returns

true if packages were found successfully, false otherwise.

Parameters

Parameter

Description

PackageNames

the array of package names to normalize. If this array is empty, the complete package list will be used.

PackagePathNames

will be filled with the complete relative path name for each package name in the input array

PackageWildcard

if specified, allows the caller to specify a wildcard to use for finding package files

PackageFilter

allows the caller to limit the types of packages returned.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback