FPackageName::FindPackagesInDirectories

This will recurse over the given list of directory structures looking for packages.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/Misc/PackageName.h

Include

#include "Misc/PackageName.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/Misc/PackageName.cpp

Syntax

static bool FindPackagesInDirectories
(
    TArray< FString > & OutPackages,
    const TArrayView< const FString > & RootDirs
)

Remarks

This will recurse over the given list of directory structures looking for packages.

Returns

Returns true if any packages have been found, otherwise false

Parameters

Parameter

Description

OutPackages

The output array that is filled out with the discovered file paths

RootDirss

The roots of the directory structures to recurse through

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss