FGenericPlatformMisc::LoadTextFileFromPlatformPackage

Loads a text file relative to the package root on platforms that distribute apps in package formats.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformMisc.h

Include

#include "GenericPlatform/GenericPlatformMisc.h"

Source

/Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformMisc.cpp

Syntax

static FString LoadTextFileFromPlatformPackage
(
    const FString & RelativePath
)

Remarks

Loads a text file relative to the package root on platforms that distribute apps in package formats. For other platforms, the path is relative to the root directory.

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