Toast Engine
Loading...
Searching...
No Matches
editor.Editors.PaletteViewModel Class Reference

Assigns entry materials which a reimport of the source .vox cannot re-derive. More...

Inheritance diagram for editor.Editors.PaletteViewModel:
Collaboration diagram for editor.Editors.PaletteViewModel:

Public Member Functions

Task WriteAutosaveAsync (string virtualPath)
void OpenFile (string uid, string virtualPath, BaseAsset definition, string? contentSourceRealPath=null)
async Task< bool > ConfirmCloseCurrentAsync ()

Properties

ObservableCollection< PaletteSwatchVM > Swatches = [] [get]
PaletteSlotVM? EditableSlot [get]
bool HasContent [get]
string SelectedLabel [get]
string EmissiveHint [get]
 Emissive scaled by max_emissive.
bool IsAutosaveDirty [get]
string? AutosaveFileName [get]
Properties inherited from editor.Editors.IToastZoneEditor
bool IsDirty [get]

Detailed Description

Assigns entry materials which a reimport of the source .vox cannot re-derive.

Member Function Documentation

◆ ConfirmCloseCurrentAsync()

async Task< bool > editor.Editors.PaletteViewModel.ConfirmCloseCurrentAsync ( )
inline

◆ OpenFile()

void editor.Editors.PaletteViewModel.OpenFile ( string uid,
string virtualPath,
BaseAsset definition,
string? contentSourceRealPath = null )
inline

◆ WriteAutosaveAsync()

Task editor.Editors.PaletteViewModel.WriteAutosaveAsync ( string virtualPath)
inline

Property Documentation

◆ AutosaveFileName

string? editor.Editors.PaletteViewModel.AutosaveFileName
get

◆ IsAutosaveDirty

bool editor.Editors.PaletteViewModel.IsAutosaveDirty
get

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