Navigation
Unreal Engine C++ API Reference > Runtime > Core > GenericPlatform > IPlatformFile > FDirectoryVisitor
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformFile.h |
Include | #include "GenericPlatform/GenericPlatformFile.h" |
virtual bool ShouldVisitLeafPathname
(
FStringView LeafPathname
)
Remarks
Called with the LeafPathname (FullPath == Path/LeafPathname, LeafPathname == BaseName.Extension) before calling Visit. If it returns true, Visit will be called on the path, otherwise Visit will be skipped, and the return value of Visit is treated as true (continue iterating). Called both for directories and files.