Used in combination with Asset Browser Picker to configure selection settings and store selection results. More...
#include <AssetSelectionModel.h>
Public Member Functions | |
| FilterConstType | GetSelectionFilter () const |
| void | SetSelectionFilter (FilterConstType filter) |
| FilterConstType | GetDisplayFilter () const |
| void | SetDisplayFilter (FilterConstType filter) |
| bool | GetMultiselect () const |
| void | SetMultiselect (bool multiselect) |
| const AZStd::vector< AZ::Data::AssetId > & | GetSelectedAssetIds () const |
| void | SetSelectedAssetIds (const AZStd::vector< AZ::Data::AssetId > &selectedAssetIds) |
| void | SetSelectedAssetId (const AZ::Data::AssetId &selectedAssetId) |
| const AZStd::vector< AZStd::string > & | GetSelectedFilePaths () const |
| void | SetSelectedFilePaths (const AZStd::vector< AZStd::string > &selectedFilePaths) |
| void | SetSelectedFilePath (const AZStd::string &selectedFilePath) |
| void | SetDefaultDirectory (AZStd::string_view defaultDirectory) |
| AZStd::string_view | GetDefaultDirectory () const |
| AZStd::vector< const AssetBrowserEntry * > & | GetResults () |
| const AssetBrowserEntry * | GetResult () |
| bool | IsValid () const |
| void | SetTitle (const QString &title) |
| QString | GetTitle () const |
Static Public Member Functions | |
| static AssetSelectionModel | AssetTypeSelection (const AZ::Data::AssetType &assetType, bool multiselect=false, bool supportSelectingSources=false) |
| static AssetSelectionModel | AssetTypeSelection (const char *assetTypeName, bool multiselect=false, bool supportSelectingSources=false) |
| static AssetSelectionModel | AssetTypeSelection (const AZStd::vector< AZ::Data::AssetType > &assetTypes, bool multiselect=false, bool supportSelectingSources=false) |
| static AssetSelectionModel | SourceAssetTypeSelection (const QRegularExpression &pattern, bool multiselect=false) |
| static AssetSelectionModel | EverythingSelection (bool multiselect=false) |
Used in combination with Asset Browser Picker to configure selection settings and store selection results.