Navigation
API > API/Runtime > API/Runtime/Engine
Rules for how to scan the asset registry for assets matching path and type descriptions
| Name | FAssetManagerSearchRules |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/AssetManagerTypes.h |
| Include Path | #include "Engine/AssetManagerTypes.h" |
Syntax
USTRUCT (BlueprintType )
struct FAssetManagerSearchRules
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AssetBaseClass | TObjectPtr< UClass > | Assets must inherit from this class, for blueprints this should be the instance base class | Engine/AssetManagerTypes.h |
|
| AssetScanPaths | TArray< FString > | List of top-level directories and specific assets to search, must be paths starting with /, directories should not have a trailing / | Engine/AssetManagerTypes.h |
|
| bForceSynchronousScan | bool | True if this should force a synchronous scan of the disk even if an async scan is in progress | Engine/AssetManagerTypes.h |
|
| bHasBlueprintClasses | bool | True if scanning for blueprints, false for all other assets | Engine/AssetManagerTypes.h |
|
| bSkipManagerIncludeCheck | bool | True if this test should skip the ShouldIncludeInAssetSearch function on AssetManager | Engine/AssetManagerTypes.h |
|
| bSkipVirtualPathExpansion | bool | True if AssetScanPaths are real paths that do not need expansion | Engine/AssetManagerTypes.h |
|
| ExcludePatterns | TArray< FString > | Optional list of exclude wildcard patterns that can use *, if any of these match it will be excluded | Engine/AssetManagerTypes.h |
|
| IncludePatterns | TArray< FString > | Optional list of include wildcard patterns using * that will get matched against full package path. | Engine/AssetManagerTypes.h |
|
| ShouldIncludeDelegate | FAssetManagerShouldIncludeDelegate | Native filter delegate to call on asset data, if bound it should return true if asset should be included in results | Engine/AssetManagerTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AreRulesSet() |
Returns true if there are any rules set that need to be verified | Engine/AssetManagerTypes.h |