UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FAssetManagerSearchRules Struct Reference

#include <AssetManagerTypes.h>

+ Inheritance diagram for FAssetManagerSearchRules:

Public Member Functions

ENGINE_API bool AreRulesSet () const
 

Public Attributes

TArray< FString > AssetScanPaths
 
TArray< FString > IncludePatterns
 
TArray< FString > ExcludePatterns
 
TObjectPtr< UClassAssetBaseClass = nullptr
 
bool bHasBlueprintClasses = false
 
bool bForceSynchronousScan = false
 
bool bSkipVirtualPathExpansion = false
 
bool bSkipManagerIncludeCheck = false
 
FAssetManagerShouldIncludeDelegate ShouldIncludeDelegate
 

Detailed Description

Rules for how to scan the asset registry for assets matching path and type descriptions

Member Function Documentation

◆ AreRulesSet()

bool FAssetManagerSearchRules::AreRulesSet ( ) const

Returns true if there are any rules set that need to be verified

Member Data Documentation

◆ AssetBaseClass

TObjectPtr<UClass> FAssetManagerSearchRules::AssetBaseClass = nullptr

Assets must inherit from this class, for blueprints this should be the instance base class

◆ AssetScanPaths

TArray<FString> FAssetManagerSearchRules::AssetScanPaths

List of top-level directories and specific assets to search, must be paths starting with /, directories should not have a trailing /

◆ bForceSynchronousScan

bool FAssetManagerSearchRules::bForceSynchronousScan = false

True if this should force a synchronous scan of the disk even if an async scan is in progress

◆ bHasBlueprintClasses

bool FAssetManagerSearchRules::bHasBlueprintClasses = false

True if scanning for blueprints, false for all other assets

◆ bSkipManagerIncludeCheck

bool FAssetManagerSearchRules::bSkipManagerIncludeCheck = false

True if this test should skip the ShouldIncludeInAssetSearch function on AssetManager

◆ bSkipVirtualPathExpansion

bool FAssetManagerSearchRules::bSkipVirtualPathExpansion = false

True if AssetScanPaths are real paths that do not need expansion

◆ ExcludePatterns

TArray<FString> FAssetManagerSearchRules::ExcludePatterns

Optional list of exclude wildcard patterns that can use *, if any of these match it will be excluded

◆ IncludePatterns

TArray<FString> FAssetManagerSearchRules::IncludePatterns

Optional list of include wildcard patterns using * that will get matched against full package path. If there are any at least one of these must match

◆ ShouldIncludeDelegate

FAssetManagerShouldIncludeDelegate FAssetManagerSearchRules::ShouldIncludeDelegate

Native filter delegate to call on asset data, if bound it should return true if asset should be included in results


The documentation for this struct was generated from the following files: