AssetTypeFilter filters products based on their asset type. More...
#include <Filter.h>
Inherits AzToolsFramework::AssetBrowser::AssetBrowserEntryFilter.
Public Member Functions | |
void | SetAssetType (AZ::Data::AssetType assetType) |
void | SetAssetType (const char *assetTypeName) |
AZ::Data::AssetType | GetAssetType () const |
Public Member Functions inherited from AzToolsFramework::AssetBrowser::AssetBrowserEntryFilter | |
bool | Match (const AssetBrowserEntry *entry) const |
Check if entry matches filter. | |
bool | MatchWithoutPropagation (const AssetBrowserEntry *entry) const |
Check if the entry matches filter without propagation (i.e. it's an exact match and it doesn't match only. | |
void | Filter (AZStd::vector< const AssetBrowserEntry * > &result, const AssetBrowserEntry *entry) const |
Retrieve all matching entries that are either entry itself or its parents or children. | |
QString | GetName () const |
Filter name is used to uniquely identify the filter. | |
void | SetName (const QString &name) |
const QString & | GetTag () const |
Tags are used for identifying filter groups. | |
void | SetTag (const QString &tag) |
void | SetFilterPropagation (int direction) |
Additional Inherited Members | |
Public Types inherited from AzToolsFramework::AssetBrowser::AssetBrowserEntryFilter | |
enum | PropagateDirection : int { None = 0x00 , Up = 0x01 , Down = 0x02 } |
Propagate direction allows match satisfaction based on entry parents and/or children. | |
Signals inherited from AzToolsFramework::AssetBrowser::AssetBrowserEntryFilter | |
void | updatedSignal () const |
Emitted every time a filter is updated, in case of composite filter, the signal is propagated to the top level filter so only one listener needs to connected. | |
AssetTypeFilter filters products based on their asset type.