FAssetManagerSearchRules

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

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/AssetManagerTypes.h

Include

#include "Engine/AssetManagerTypes.h"

Syntax

struct FAssetManagerSearchRules

Remarks

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

Variables

Name Description

Public variable

UClass *

 

AssetBaseClass

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

Public variable

TArray< FString...

 

AssetScanPaths

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

Public variable

bool

 

bForceSynchronousScan

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

Public variable

bool

 

bHasBlueprintClasses

True if scanning for blueprints, false for all other assets

Public variable

bool

 

bSkipManagerIncludeCheck

True if this test should skip the ShouldIncludeInAssetSearch function on AssetManager

Public variable

bool

 

bSkipVirtualPathExpansion

True if AssetScanPaths are real paths that do not need expansion

Public variable

TArray< FString...

 

ExcludePatterns

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

Public variable

TArray< FString...

 

IncludePatterns

Optional list of include wildcard patterns using * that will get matched against full package path.

Public variable

FAssetManagerSh...

 

ShouldIncludeDelegate

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

Functions

Name Description

Public function Const

bool

 

AreRulesSet()

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

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