/Engine/Source/Runtime/Core/Public/Misc/Paths.h
Returns the directory the engine uses to output screenshot files.
screenshot directory
static [FString](API\Runtime\Core\Containers\FString) ScreenShotDir()