|
| bool | IsSliding [get, set] |
| LayoutDirection | LayoutDirection [get, set] |
| float | MinValue [get, set] |
| float | MaxValue [get, set] |
| float | Value [get, set] |
| float | Granularity [get, set] |
| string | Text [get, set] |
| BitmapFont | Font [get, set] |
| string | SoundName [get, set] |
| bool | IsLabelVisible [get, set] |
| float | LabelWidth [get, set] |
| Color | TextColor [get, set] |
| bool | SlidingCompleted [get, private set] |
| Vector2 | Size = new(-1f) [get, set] |
| IEnumerable< Widget > | AllChildren [get] |
| WidgetInput | WidgetsHierarchyInput [get, set] |
| WidgetInput | Input [get] |
| Matrix | LayoutTransform [get, set] |
| Matrix | RenderTransform [get, set] |
| Matrix | GlobalTransform [get] |
| float | GlobalScale [get] |
| Matrix | InvertedGlobalTransform [get] |
| BoundingRectangle | GlobalBounds [get] |
| Color | ColorTransform [get, set] |
| Color | GlobalColorTransform [get] |
| virtual string | Name [get, set] |
| object | Tag [get, set] |
| object | ExtraData [get, set] |
| virtual bool | IsVisible [get, set] |
| virtual bool | IsEnabled [get, set] |
| virtual bool | IsHitTestVisible [get, set] |
| bool | IsVisibleGlobal [get] |
| bool | IsEnabledGlobal [get] |
| bool | ClampToBounds [get, set] |
| virtual Vector2 | Margin [get, set] |
| virtual float | MarginLeft [get, set] |
| virtual float | MarginRight [get, set] |
| virtual float | MarginTop [get, set] |
| virtual float | MarginBottom [get, set] |
| virtual Vector4 | Margin4 [get, set] |
| virtual float | MarginHorizontalSum [get] |
| virtual float | MarginVerticalSum [get] |
| virtual Vector2 | MarginHorizontalSumAndVerticalSum [get] |
| virtual WidgetAlignment | HorizontalAlignment [get, set] |
| virtual WidgetAlignment | VerticalAlignment [get, set] |
| Vector2 | ActualSize [get] |
| Vector2 | DesiredSize [get, set] |
| Vector2 | ParentDesiredSize [get] |
| bool | IsUpdateEnabled = true [get, set] |
| bool | IsDrawEnabled = true [get, set] |
| bool | IsDrawRequired [get, set] |
| bool | IsOverdrawRequired [get, set] |
| XElement | Style [set] |
| ContainerWidget | ParentWidget [get, set] |
| Widget | RootWidget [get] |
|
| static void | SetPosition (Widget widget, Vector2 position) |
| static void | ArrangeChildWidgetInCell (Vector2 c1, Vector2 c2, Widget widget) |
| static Widget | LoadWidget (object eventsTarget, XElement node, ContainerWidget parentWidget) |
| static bool | TestOverlap (Widget w1, Widget w2) |
| static bool | IsNodeIncludedOnCurrentPlatform (XElement node) |
| static void | UpdateWidgetsHierarchy (Widget rootWidget) |
| static void | LayoutWidgetsHierarchy (Widget rootWidget, Vector2 availableSize) |
| static void | DrawWidgetsHierarchy (Widget rootWidget) |
| static Type | FindTypeFromXmlName (string name, string namespaceName) |
| static Widget | HitTestGlobal (Widget widget, Vector2 point, Func< Widget, bool > predicate) |
| static void | UpdateWidgetsHierarchy (Widget widget, ref bool isMouseCursorVisible) |
| static Queue< DrawContext > | m_drawContextsCache = new() |
| static int | LayersLimit = -1 |
| static bool | DrawWidgetBounds = false |
◆ SliderWidget()
| Game.SliderWidget.SliderWidget |
( |
| ) |
|
◆ ArrangeOverride()
| override void Game.SliderWidget.ArrangeOverride |
( |
| ) |
|
|
virtual |
◆ MeasureOverride()
| override void Game.SliderWidget.MeasureOverride |
( |
Vector2 | parentAvailableSize | ) |
|
|
virtual |
◆ Update()
| override void Game.SliderWidget.Update |
( |
| ) |
|
|
virtual |
◆ m_canvasWidget
◆ m_dragStartPoint
| Vector2? Game.SliderWidget.m_dragStartPoint |
◆ m_granularity
| float Game.SliderWidget.m_granularity = 0.1f |
◆ m_labelCanvasWidget
◆ m_labelWidget
◆ m_maxValue
| float Game.SliderWidget.m_maxValue = 1f |
◆ m_minValue
| float Game.SliderWidget.m_minValue |
◆ m_tabWidget
| Widget Game.SliderWidget.m_tabWidget |
◆ m_value
| float Game.SliderWidget.m_value |
◆ Font
◆ Granularity
| float Game.SliderWidget.Granularity |
|
getset |
◆ IsLabelVisible
| bool Game.SliderWidget.IsLabelVisible |
|
getset |
◆ IsSliding
| bool Game.SliderWidget.IsSliding |
|
getset |
◆ LabelWidth
| float Game.SliderWidget.LabelWidth |
|
getset |
◆ LayoutDirection
◆ MaxValue
| float Game.SliderWidget.MaxValue |
|
getset |
◆ MinValue
| float Game.SliderWidget.MinValue |
|
getset |
◆ SlidingCompleted
| bool Game.SliderWidget.SlidingCompleted |
|
getprivate set |
◆ SoundName
| string Game.SliderWidget.SoundName |
|
getset |
◆ Text
| string Game.SliderWidget.Text |
|
getset |
◆ TextColor
| Color Game.SliderWidget.TextColor |
|
getset |
◆ Value
| float Game.SliderWidget.Value |
|
getset |
该类的文档由以下文件生成:
- E:/sc/doxygen/SurvivalcraftApi 1.8.2.3/Survivalcraft.Windows/Widget/SliderWidget.cs