Navigation
Unreal Engine C++ API Reference > Runtime > Core > HAL > IFileManager > FindFiles
- IFileManager::FindFiles()
- FFileManagerGeneric::FindFiles()
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/HAL/FileManager.h |
Include | #include "HAL/FileManager.h" |
void FindFiles
&40;
TArray< FString > & FoundFiles,
const TCHAR &42; Directory,
const TCHAR &42; FileExtension
&41;
Remarks
Finds all the files within the given directory, with optional file extension filter.
Parameters
Name | Description |
---|---|
FoundFiles | All the files that matched the optional FileExtension filter, or all files if none was specified. |
Directory | The absolute path to the directory to search. Ex: "C:\UE4\Pictures" |
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. |