|
| float | Value [get, set] |
| int | BarsCount [get, set] |
| bool | FlipDirection [get, set] |
| Vector2 | BarSize [get, set] |
| float | Spacing [get, set] |
| Color | LitBarColor [get, set] |
| Color | LitBarColor2 [get, set] |
| Color | UnlitBarColor [get, set] |
| bool | BarBlending [get, set] |
| bool | HalfBars [get, set] |
| Subtexture | BarSubtexture [get, set] |
| bool | TextureLinearFilter [get, set] |
| LayoutDirection | LayoutDirection [get, set] |
| 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] |
◆ ValueBarWidget()
| Game.ValueBarWidget.ValueBarWidget |
( |
| ) |
|
◆ Draw()
| override void Game.ValueBarWidget.Draw |
( |
DrawContext | dc | ) |
|
|
virtual |
◆ Flash()
| void Game.ValueBarWidget.Flash |
( |
int | count | ) |
|
◆ MeasureOverride()
| override void Game.ValueBarWidget.MeasureOverride |
( |
Vector2 | parentAvailableSize | ) |
|
|
virtual |
◆ m_barsCount
| int Game.ValueBarWidget.m_barsCount = 8 |
◆ m_barSubtexture
◆ m_flashCount
| float Game.ValueBarWidget.m_flashCount |
◆ m_layoutDirection
◆ m_litBarColor
| Color Game.ValueBarWidget.m_litBarColor = new(16, 140, 0) |
◆ m_litBarColor2
| Color Game.ValueBarWidget.m_litBarColor2 = Color.Transparent |
◆ m_textureLinearFilter
| bool Game.ValueBarWidget.m_textureLinearFilter |
◆ m_unlitBarColor
| Color Game.ValueBarWidget.m_unlitBarColor = new(48, 48, 48) |
◆ m_value
| float Game.ValueBarWidget.m_value |
◆ BarBlending
| bool Game.ValueBarWidget.BarBlending |
|
getset |
◆ BarsCount
| int Game.ValueBarWidget.BarsCount |
|
getset |
◆ BarSize
| Vector2 Game.ValueBarWidget.BarSize |
|
getset |
◆ BarSubtexture
◆ FlipDirection
| bool Game.ValueBarWidget.FlipDirection |
|
getset |
◆ HalfBars
| bool Game.ValueBarWidget.HalfBars |
|
getset |
◆ LayoutDirection
◆ LitBarColor
| Color Game.ValueBarWidget.LitBarColor |
|
getset |
◆ LitBarColor2
| Color Game.ValueBarWidget.LitBarColor2 |
|
getset |
◆ Spacing
| float Game.ValueBarWidget.Spacing |
|
getset |
◆ TextureLinearFilter
| bool Game.ValueBarWidget.TextureLinearFilter |
|
getset |
◆ UnlitBarColor
| Color Game.ValueBarWidget.UnlitBarColor |
|
getset |
◆ Value
| float Game.ValueBarWidget.Value |
|
getset |
该类的文档由以下文件生成:
- E:/sc/doxygen/SurvivalcraftApi 1.8.2.3/Survivalcraft.Windows/Widget/ValueBarWidget.cs