Navigation
API > API/Plugins > API/Plugins/BlueprintFileUtils > API/Plugins/BlueprintFileUtils/UBlueprintFileUtilsBPLibrary
References
| Module | BlueprintFileUtils |
| Header | /Engine/Plugins/BlueprintFileUtils/Source/BlueprintFileUtils/Public/BlueprintFileUtilsBPLibrary.h |
| Include | #include "BlueprintFileUtilsBPLibrary.h" |
| Source | /Engine/Plugins/BlueprintFileUtils/Source/BlueprintFileUtils/Private/BlueprintFileUtilsBPLibrary.cpp |
UFUNCTION&40;BlueprintCallable, Category&61;"FileUtils"&41;
static bool FindFiles
&40;
const FString & Directory,
TArray< FString > & FoundFiles,
const FString & FileExtension
&41;
Remarks
Finds all the files within the given directory, with optional file extension filter. true if anything was found, false otherwise
Parameters
| Name | Description |
|---|---|
| Directory | The absolute path to the directory to search. Ex: "C:\UnrealEditor\Pictures" |
| FoundFiles | All the files found that matched the optional FileExtension filter, or all files if none was specified. |
| FileExtension | If FileExtension is 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. |