![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#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< UClass > | AssetBaseClass = nullptr |
| bool | bHasBlueprintClasses = false |
| bool | bForceSynchronousScan = false |
| bool | bSkipVirtualPathExpansion = false |
| bool | bSkipManagerIncludeCheck = false |
| FAssetManagerShouldIncludeDelegate | ShouldIncludeDelegate |
Rules for how to scan the asset registry for assets matching path and type descriptions
| bool FAssetManagerSearchRules::AreRulesSet | ( | ) | const |
Returns true if there are any rules set that need to be verified
| TObjectPtr<UClass> FAssetManagerSearchRules::AssetBaseClass = nullptr |
Assets must inherit from this class, for blueprints this should be the instance base class
| 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 /
True if this should force a synchronous scan of the disk even if an async scan is in progress
True if scanning for blueprints, false for all other assets
True if this test should skip the ShouldIncludeInAssetSearch function on AssetManager
True if AssetScanPaths are real paths that do not need expansion
| TArray<FString> FAssetManagerSearchRules::ExcludePatterns |
Optional list of exclude wildcard patterns that can use *, if any of these match it will be excluded
| 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
| FAssetManagerShouldIncludeDelegate FAssetManagerSearchRules::ShouldIncludeDelegate |
Native filter delegate to call on asset data, if bound it should return true if asset should be included in results