FPackageName::LongPackageNameToFilename

Converts a long package name to a file name with the supplied extension.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/Misc/PackageName.h

Include

#include "Misc/PackageName.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/Misc/PackageName.cpp

Syntax

static FString LongPackageNameToFilename
(
    const FString & InLongPackageName,
    const FString & InExtension
)

Remarks

Converts a long package name to a file name with the supplied extension. Throws a fatal error if the conversion is not successful.

Returns

Package filename.

Parameters

Parameter

Description

InLongPackageName

Long Package Name

InExtension

Package extension.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss