Toast Engine
Loading...
Searching...
No Matches
editor.Components.Elements.DragVec4Box Class Referencesealed
Inheritance diagram for editor.Components.Elements.DragVec4Box:
Collaboration diagram for editor.Components.Elements.DragVec4Box:

Static Public Attributes

static readonly StyledProperty< float > XProperty
static readonly StyledProperty< float > YProperty
static readonly StyledProperty< float > ZProperty
static readonly StyledProperty< float > WProperty
static readonly StyledProperty< string > LabelXProperty
static readonly StyledProperty< string > LabelYProperty
static readonly StyledProperty< string > LabelZProperty
static readonly StyledProperty< string > LabelWProperty
Static Public Attributes inherited from editor.Components.Elements.DragVectorBoxBase
static readonly StyledProperty< string?> UnitProperty
 Suffix drawn after every axis number (e.g. "m", "deg").
static readonly StyledProperty< double > MinimumProperty
static readonly StyledProperty< double > MaximumProperty
static readonly StyledProperty< int > DecimalsProperty
static readonly StyledProperty< float > CoarseStepProperty
static readonly StyledProperty< float > FineStepProperty
static readonly StyledProperty< double > DragSensitivityProperty
static readonly StyledProperty< ICommand?> CopyCommandProperty
static readonly StyledProperty< ICommand?> PasteCommandProperty

Protected Member Functions

override AxisSpec[] BuildAxes ()
Protected Member Functions inherited from editor.Components.Elements.DragVectorBoxBase
AxisSpec[] BuildAxes ()
override Size MeasureOverride (Size availableSize)
override void OnPropertyChanged (AvaloniaPropertyChangedEventArgs change)

Properties

float X [get, set]
float Y [get, set]
float Z [get, set]
float W [get, set]
string LabelX [get, set]
string LabelY [get, set]
string LabelZ [get, set]
string LabelW [get, set]
override int AxisCount [get]
Properties inherited from editor.Components.Elements.DragVectorBoxBase
string? Unit [get, set]
double Minimum [get, set]
double Maximum [get, set]
int Decimals [get, set]
float CoarseStep [get, set]
float FineStep [get, set]
double DragSensitivity [get, set]
ICommand? CopyCommand [get, set]
ICommand? PasteCommand [get, set]
int AxisCount [get]

Additional Inherited Members

Protected Attributes inherited from editor.Components.Elements.DragVectorBoxBase
readonly record struct AxisSpec (StyledProperty< string > Label, string ColorKey, StyledProperty< float > Value)

Member Data Documentation

◆ LabelWProperty

readonly StyledProperty<string> editor.Components.Elements.DragVec4Box.LabelWProperty
static
Initial value:
=
AvaloniaProperty.Register<DragVec4Box, string>(nameof(LabelW), "W")
Definition DragVec4Box.cs:11

◆ LabelXProperty

readonly StyledProperty<string> editor.Components.Elements.DragVec4Box.LabelXProperty
static
Initial value:
=
AvaloniaProperty.Register<DragVec4Box, string>(nameof(LabelX), "X")

◆ LabelYProperty

readonly StyledProperty<string> editor.Components.Elements.DragVec4Box.LabelYProperty
static
Initial value:
=
AvaloniaProperty.Register<DragVec4Box, string>(nameof(LabelY), "Y")

◆ LabelZProperty

readonly StyledProperty<string> editor.Components.Elements.DragVec4Box.LabelZProperty
static
Initial value:
=
AvaloniaProperty.Register<DragVec4Box, string>(nameof(LabelZ), "Z")

◆ WProperty

readonly StyledProperty<float> editor.Components.Elements.DragVec4Box.WProperty
static
Initial value:
=
AvaloniaProperty.Register<DragVec4Box, float>(nameof(W), defaultBindingMode: BindingMode.TwoWay)

◆ XProperty

readonly StyledProperty<float> editor.Components.Elements.DragVec4Box.XProperty
static
Initial value:
=
AvaloniaProperty.Register<DragVec4Box, float>(nameof(X), defaultBindingMode: BindingMode.TwoWay)

◆ YProperty

readonly StyledProperty<float> editor.Components.Elements.DragVec4Box.YProperty
static
Initial value:
=
AvaloniaProperty.Register<DragVec4Box, float>(nameof(Y), defaultBindingMode: BindingMode.TwoWay)

◆ ZProperty

readonly StyledProperty<float> editor.Components.Elements.DragVec4Box.ZProperty
static
Initial value:
=
AvaloniaProperty.Register<DragVec4Box, float>(nameof(Z), defaultBindingMode: BindingMode.TwoWay)

The documentation for this class was generated from the following file:
  • editor/Components/Elements/DragVec4Box.cs