FAsyncDirectoryReader::FAsyncDirectoryReader

Constructor that sets up the directory reader to the specified directory

Unreal Engine C++ API Reference > Developer > DirectoryWatcher > FAsyncDirectoryReader

References

   
Module DirectoryWatcher
Header /Engine/Source/Developer/DirectoryWatcher/Public/FileCache.h
Include #include "FileCache.h"
Source /Engine/Source/Developer/DirectoryWatcher/Private/FileCache.cpp
FAsyncDirectoryReader
(
    const [FString](API\Runtime\Core\Containers\FString) & InDirectory,
    [EPathType](API\Developer\DirectoryWatcher\DirectoryWatcher__EPathType) InPathType
)

Remarks

Constructor that sets up the directory reader to the specified directory

Threading strategy for FAsyncDirectoryReader: The directory reader owns the cached and live state until it has completely finished. Once IsComplete() is true, the main thread can have access to both the cached and farmed data.


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library