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

Static Public Attributes

static readonly StyledProperty< float > XProperty
static readonly StyledProperty< float > YProperty
static readonly StyledProperty< float > ZProperty
static readonly StyledProperty< string > LabelXProperty
static readonly StyledProperty< string > LabelYProperty
static readonly StyledProperty< string > LabelZProperty
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]
string LabelX [get, set]
string LabelY [get, set]
string LabelZ [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

◆ LabelXProperty

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

◆ LabelYProperty

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

◆ LabelZProperty

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

◆ XProperty

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

◆ YProperty

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

◆ ZProperty

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

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