Class HUDVitals
Player vital signs for HUD.
Inherited Members
Panel.SetBorderTextures(Texture2D, Texture2D, Texture2D, Texture2D, Texture2D, Texture2D, Texture2D, Texture2D, Texture2D, FilterMode, Nullable<Border<Vector2Int>>)
Assembly: Assembly-CSharp.dll
Syntax
public class HUDVitals : Panel, IDisposable
Constructors
|
Improve this Doc
View Source
HUDVitals()
Declaration
Fields
|
Improve this Doc
View Source
borderSize
Declaration
public const int borderSize = 10
Field Value
|
Improve this Doc
View Source
nativeBarWidth
Declaration
public const int nativeBarWidth = 4
Field Value
Properties
|
Improve this Doc
View Source
CustomFatigueBarPosition
Declaration
public Vector2? CustomFatigueBarPosition { get; set; }
Property Value
|
Improve this Doc
View Source
CustomFatigueBarSize
Declaration
public Vector2? CustomFatigueBarSize { get; set; }
Property Value
|
Improve this Doc
View Source
CustomHealthBarPosition
Declaration
public Vector2? CustomHealthBarPosition { get; set; }
Property Value
|
Improve this Doc
View Source
CustomHealthBarSize
Declaration
public Vector2? CustomHealthBarSize { get; set; }
Property Value
|
Improve this Doc
View Source
CustomMagickaBarPosition
Declaration
public Vector2? CustomMagickaBarPosition { get; set; }
Property Value
|
Improve this Doc
View Source
CustomMagickaBarSize
Declaration
public Vector2? CustomMagickaBarSize { get; set; }
Property Value
|
Improve this Doc
View Source
Fatigue
Gets or sets current fatigue as value between 0 and 1.
Declaration
public float Fatigue { get; set; }
Property Value
|
Improve this Doc
View Source
Health
Gets or sets current health as value between 0 and 1.
Declaration
public float Health { get; set; }
Property Value
|
Improve this Doc
View Source
Magicka
Gets or sets current magicka as value between 0 and 1.
Declaration
public float Magicka { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
SetAllAutoSize(AutoSizeModes)
Declaration
public void SetAllAutoSize(AutoSizeModes mode)
Parameters
|
Improve this Doc
View Source
SetAllHorizontalAlignment(HorizontalAlignment)
Declaration
public void SetAllHorizontalAlignment(HorizontalAlignment alignment)
Parameters
|
Improve this Doc
View Source
SetAllParent(Panel)
Declaration
public void SetAllParent(Panel parent)
Parameters
Type |
Name |
Description |
Panel |
parent |
|
|
Improve this Doc
View Source
SetAllVerticalAlignment(VerticalAlignment)
Declaration
public void SetAllVerticalAlignment(VerticalAlignment alignment)
Parameters
|
Improve this Doc
View Source
Update()
Declaration
public override void Update()
Overrides