engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | 所有成员列表
FARFilter结构体 参考

A struct to serve as a filter for Asset Registry queries. 更多...

#include <ARFilter.h>

Public 成员函数

void Append (const FARFilter &Other)
 Appends the other filter to this one
 
void Clear ()
 Clears this filter of all entries
 
bool IsEmpty () const
 Returns true if this filter has no entries
 
bool IsRecursive () const
 Returns true if this filter is recursive
 

Public 属性

bool bIncludeOnlyOnDiskAssets = false
 If true, only on-disk assets will be returned. 更多...
 
bool bRecursiveClasses = false
 If true, subclasses of ClassNames will also be included and RecursiveClassesExclusionSet will be excluded.
 
bool bRecursivePaths = false
 If true, PackagePath components will be recursive
 
TArray< FName > ClassNames
 The filter component for class names. 更多...
 
TArray< FName > ObjectPaths
 The filter component containing specific object paths
 
TArray< FName > PackageNames
 The filter component for package names
 
TArray< FName > PackagePaths
 The filter component for package paths
 
TSet< FName > RecursiveClassesExclusionSet
 Only if bRecursiveClasses is true, the results will exclude classes (and subclasses) in this list
 
TMultiMap< FName, TOptional< FString > > TagsAndValues
 The filter component for properties marked with the AssetRegistrySearchable flag
 
uint32 WithoutPackageFlags = 0
 The exclusive filter component for package flags. 更多...
 
uint32 WithPackageFlags = 0
 The inclusive filter component for package flags. 更多...
 

详细描述

A struct to serve as a filter for Asset Registry queries.

Each component element is processed as an 'OR' operation while all the components are processed together as an 'AND' operation.

类成员变量说明

◆ bIncludeOnlyOnDiskAssets

bool FARFilter::bIncludeOnlyOnDiskAssets = false

If true, only on-disk assets will be returned.

Be warned that this is rarely what you want and should only be used for performance reasons

◆ ClassNames

TArray<FName> FARFilter::ClassNames

The filter component for class names.

Instances of the specified classes, but not subclasses (by default), will be included. Derived classes will be included only if bRecursiveClasses is true.

◆ WithoutPackageFlags

uint32 FARFilter::WithoutPackageFlags = 0

The exclusive filter component for package flags.

Only assets without any of the specified flags will be returned.

◆ WithPackageFlags

uint32 FARFilter::WithPackageFlags = 0

The inclusive filter component for package flags.

Only assets with all of the specified flags will be returned.


该结构体的文档由以下文件生成: