Toast Engine
Loading...
Searching...
No Matches
editor.Editors.SchemaFieldItemVM Class Reference
Inheritance diagram for editor.Editors.SchemaFieldItemVM:
Collaboration diagram for editor.Editors.SchemaFieldItemVM:

Public Member Functions

 SchemaFieldItemVM (SchemaViewModel owner)
void NotifyAdvancedViewChanged ()
void NotifyAvailableTypesChanged ()
void NotifyTypeSwitchOptionsChanged ()

Static Public Attributes

static readonly IReadOnlyList< string > PrimitiveTypes

Properties

ObservableCollection< StringOptionVM > EnumOptions = [] [get]
ObservableCollection< StringOptionVM > Variants = [] [get]
ObservableCollection< TypeSwitchCaseVM > TypeSwitchCases = [] [get]
IEnumerable< string > TypeSwitchFieldOptions [get]
bool AdvancedView [get]
IEnumerable< string > AssetTypeOptions [get]
IEnumerable< string > NodeTypeOptions [get]
bool IsEnum [get]
bool IsBoolType [get]
bool IsIntType [get]
bool IsFloatType [get]
bool IsStringType [get]
bool IsNodeType [get]
bool IsAssetType [get]
bool IsVec2Type [get]
bool IsVec3Type [get]
bool IsColor3Type [get]
bool IsColor4Type [get]
bool HasTypedDefault [get]
bool HasMinMax [get]
bool DefaultBool [get, set]
float DefaultFloat [get, set]
int DefaultInt [get, set]
float DefaultX [get, set]
float DefaultY [get, set]
float DefaultZ [get, set]
float DefaultW [get, set]
IEnumerable< string > EnumOptionsStrings [get]
IEnumerable< string > AvailableTypes [get]
bool ShouldSplitRow [get]

Member Data Documentation

◆ PrimitiveTypes

readonly IReadOnlyList<string> editor.Editors.SchemaFieldItemVM.PrimitiveTypes
static
Initial value:
= [
"bool", "int", "float", "string", "enum", "node", "asset", "vec2", "vec3", "color3", "color4"
]

Property Documentation

◆ ShouldSplitRow

bool editor.Editors.SchemaFieldItemVM.ShouldSplitRow
get

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