FPakPlatformFile::FindFiles

Finds all the files within the given directory, with optional file extension filter

Windows
MacOS
Linux

Override Hierarchy

IPlatformFile::FindFiles()

FPakPlatformFile::FindFiles()

References

Module

PakFile

Header

/Engine/Source/Runtime/PakFile/Public/IPlatformFilePak.h

Include

#include "IPlatformFilePak.h"

Syntax

virtual void FindFiles
(
    TArray< FString > & FoundFiles,
    const TCHAR * Directory,
    const TCHAR * FileExtension
)

Remarks

Finds all the files within the given directory, with optional file extension filter

Returns

FoundFiles All the files that matched the optional FileExtension filter, or all files if none was specified.

Parameters

Parameter

Description

Directory

The directory to iterate the contents of

FileExtension

If FileExtension is NULL, or an empty string "" then all files are found. Otherwise FileExtension can be of the form .EXT or just EXT and only files with that extension will be returned.

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