Toast Engine
Loading...
Searching...
No Matches
editor.Assets.AssetBrowserViewModel Class Reference
Inheritance diagram for editor.Assets.AssetBrowserViewModel:
Collaboration diagram for editor.Assets.AssetBrowserViewModel:

Public Member Functions

void Dispose ()
void RevealAsset (string uid)
void SelectItem (object item, KeyModifiers modifiers)
void SelectAll ()
void SetSelection (IReadOnlyCollection< object > items, IReadOnlyCollection< object >? keep=null)
void ClearSelection ()
IReadOnlyList< string > DragPaths (object pressed)
bool CanMoveItems (IReadOnlyCollection< string > paths, AssetFolder target)
void MoveItems (IReadOnlyCollection< string > paths, AssetFolder target)
IReadOnlyList< AssetFile > TagTargets (AssetFile clicked)
void SetTag (IReadOnlyCollection< AssetFile > files, AssetTag tag, bool enabled)
async Task HandleDroppedFilesAsync (IReadOnlyList< string > paths, AssetFolder? target=null)
void MoveAsset (string uid, AssetFolder target)
bool CanWriteToFolder (AssetFolder? folder)
bool CanOpenForEditing (AssetFile file)
bool CanMoveAsset (string uid, AssetFolder target)

Properties

static ? AssetBrowserViewModel Current [get]
IReadOnlySet< object > SelectedItems [get]
AssetFolder? SelectedFolder [get, set]
ObservableCollection< AssetFolder > Folders = [] [get]
ObservableCollection< AssetTypeFilter > Filters [get]
ObservableCollection< AssetTypeFilter > RootFilters [get]
ObservableCollection< AssetTypeFilterGroup > FilterGroups [get]
ObservableCollection< object > FilterTreeItems [get]
bool CanWriteToSelectedFolder [get]
string SearchText [get, set]
bool? FilterAll [get, set]
ObservableCollection< AssetTagFilter > TagFilters = [] [get]
bool HasTags [get]
bool? TagFilterAll [get, set]
bool ShowTags [get]
bool ShowTypeBadge [get]
double CardWidth [get]
double CardHeight [get]
double PreviewHeight [get]
double PreviewIconSize [get]
IReadOnlyList< BreadcrumbItem > BreadcrumbItems [get]
ObservableCollection< object > CurrentItems = [] [get]
string ItemCount [get]
ICommand RefreshCommand [get]
ICommand ExpandAllCommand [get]
ICommand CollapseAllCommand [get]
ICommand CreateFolderCommand [get]
ICommand RenameCommand [get]
ICommand DeleteCommand [get]
ICommand CopyCommand [get]
ICommand CutCommand [get]
ICommand PasteCommand [get]
ICommand DuplicateCommand [get]
ICommand NewNodeCommand [get]
ICommand NewNode3DCommand [get]
ICommand NewNodeGenericCommand [get]
ICommand NewAssetCommand [get]
ICommand ReimportCommand [get]
ICommand LockCommand [get]
ICommand UnlockCommand [get]
ICommand ManageTagsCommand [get]

Events

new? PropertyChangedEventHandler PropertyChanged

Property Documentation

◆ ManageTagsCommand

ICommand editor.Assets.AssetBrowserViewModel.ManageTagsCommand
get
Initial value:
= new RelayCommand(() =>
MainWindowViewModel.Current?.OpenProjectSettingsAt(SettingsTab.Editor,
ProjectSettingsViewModel.AssetBrowserCategory))

The documentation for this class was generated from the following file:
  • editor/Assets/AssetBrowserViewModel.cs