ICookedEditorPackageManager::AddPackagesFromPath

Use the asset registry to find packages to be cooked

Unreal Engine C++ API Reference > Developer > CookedEditor > ICookedEditorPackageManager

References

   
Module CookedEditor
Header /Engine/Source/Developer/CookedEditor/Public/CookedEditorPackageManager.h
Include #include "CookedEditorPackageManager.h"
Source /Engine/Source/Developer/CookedEditor/Private/CookedEditorPackageManager.cpp
void AddPackagesFromPath
(
    [TArray](API\Runtime\Core\Containers\TArray)< [FName](API\Runtime\Core\UObject\FName) > & Packages,
    const TCHAR * Path,
    [EPackageSearchMode](API\Developer\CookedEditor\ICookedEditorPackageManager\EPackageSearchMode) SearchMode
) const

Remarks

Use the asset registry to find packages to be cooked

Parameters

Name Description
Packages output array of paths
Path rooted path to look in ("/Engine", etc)
SeachMode Recurse or TopDirectoryOnly

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library