Class HUDLarge
Implements the large HUD in Daggerfall Unity as just another overlay inside of primary HUD.
This is so it can work uniformly in both widescreen and retro modes.
Other HUD elements can still work alongside large HUD, but some will be disabled as they occupy same screen area.
Inherited Members
Panel.SetBorderTextures(Texture2D, Texture2D, Texture2D, Texture2D, Texture2D, Texture2D, Texture2D, Texture2D, Texture2D, FilterMode, Nullable<Border<Vector2Int>>)
Assembly: Assembly-CSharp.dll
Syntax
public class HUDLarge : Panel, IDisposable
Constructors
|
Improve this Doc
View Source
HUDLarge()
Declaration
Fields
|
Improve this Doc
View Source
compassCamera
Declaration
protected Camera compassCamera
Field Value
|
Improve this Doc
View Source
compassPanel
Declaration
protected Panel compassPanel
Field Value
|
Improve this Doc
View Source
compassPanelRect
Declaration
protected Rect compassPanelRect
Field Value
|
Improve this Doc
View Source
compassTextures
Declaration
protected Texture2D[] compassTextures
Field Value
|
Improve this Doc
View Source
eulerAngle
Declaration
protected float eulerAngle
Field Value
|
Improve this Doc
View Source
fatiguePanelRect
Declaration
protected Rect fatiguePanelRect
Field Value
|
Improve this Doc
View Source
grabModeSubrect
Declaration
protected Rect grabModeSubrect
Field Value
|
Improve this Doc
View Source
grabModeTexture
Declaration
protected Texture2D grabModeTexture
Field Value
|
Improve this Doc
View Source
headPanel
Declaration
protected Panel headPanel
Field Value
|
Improve this Doc
View Source
headPanelRect
Declaration
protected Rect headPanelRect
Field Value
|
Improve this Doc
View Source
healthPanelRect
Declaration
protected Rect healthPanelRect
Field Value
|
Improve this Doc
View Source
infoModeSubrect
Declaration
protected Rect infoModeSubrect
Field Value
|
Improve this Doc
View Source
infoModeTexture
Declaration
protected Texture2D infoModeTexture
Field Value
|
Improve this Doc
View Source
interactionModePanel
Declaration
protected Panel interactionModePanel
Field Value
|
Improve this Doc
View Source
interactionModePanelRect
Declaration
protected Rect interactionModePanelRect
Field Value
|
Improve this Doc
View Source
inventoryPanel
Declaration
protected Panel inventoryPanel
Field Value
|
Improve this Doc
View Source
inventoryPanelRect
Declaration
protected Rect inventoryPanelRect
Field Value
|
Improve this Doc
View Source
magickaPanelRect
Declaration
protected Rect magickaPanelRect
Field Value
|
Improve this Doc
View Source
mainColorBackgroundPanel
Declaration
protected Panel mainColorBackgroundPanel
Field Value
|
Improve this Doc
View Source
mainColorBackgroundPanelRect
Declaration
protected Rect mainColorBackgroundPanelRect
Field Value
|
Improve this Doc
View Source
mainColorBackgroundTexture
Declaration
protected Texture2D mainColorBackgroundTexture
Field Value
|
Improve this Doc
View Source
mainPanelRect
Declaration
protected Rect mainPanelRect
Field Value
|
Improve this Doc
View Source
mainTexture
Declaration
protected Texture2D mainTexture
Field Value
|
Improve this Doc
View Source
mapPanel
Declaration
Field Value
|
Improve this Doc
View Source
mapPanelRect
Declaration
protected Rect mapPanelRect
Field Value
|
Improve this Doc
View Source
nativeInteractionModesTextureSize
Declaration
protected DFSize nativeInteractionModesTextureSize
Field Value
|
Improve this Doc
View Source
optionsPanel
Declaration
protected Panel optionsPanel
Field Value
|
Improve this Doc
View Source
optionsPanelRect
Declaration
protected Rect optionsPanelRect
Field Value
|
Improve this Doc
View Source
playerEntity
Declaration
protected PlayerEntity playerEntity
Field Value
|
Improve this Doc
View Source
restPanel
Declaration
protected Panel restPanel
Field Value
|
Improve this Doc
View Source
restPanelRect
Declaration
protected Rect restPanelRect
Field Value
|
Improve this Doc
View Source
sheathPanel
Declaration
protected Panel sheathPanel
Field Value
|
Improve this Doc
View Source
sheathPanelRect
Declaration
protected Rect sheathPanelRect
Field Value
|
Improve this Doc
View Source
spellbookPanel
Declaration
protected Panel spellbookPanel
Field Value
|
Improve this Doc
View Source
spellbookPanelRect
Declaration
protected Rect spellbookPanelRect
Field Value
|
Improve this Doc
View Source
stealModeSubrect
Declaration
protected Rect stealModeSubrect
Field Value
|
Improve this Doc
View Source
stealModeTexture
Declaration
protected Texture2D stealModeTexture
Field Value
|
Improve this Doc
View Source
talkModeSubrect
Declaration
protected Rect talkModeSubrect
Field Value
|
Improve this Doc
View Source
talkModeTexture
Declaration
protected Texture2D talkModeTexture
Field Value
|
Improve this Doc
View Source
transportModePanel
Declaration
protected Panel transportModePanel
Field Value
|
Improve this Doc
View Source
transportModePanelRect
Declaration
protected Rect transportModePanelRect
Field Value
|
Improve this Doc
View Source
useMagicItemPanel
Declaration
protected Panel useMagicItemPanel
Field Value
|
Improve this Doc
View Source
useMagicItemPanelRect
Declaration
protected Rect useMagicItemPanelRect
Field Value
|
Improve this Doc
View Source
vitals
Declaration
protected HUDVitals vitals
Field Value
Properties
|
Improve this Doc
View Source
ActiveMouseOverLargeHUD
True when active mouse cursor is over large HUD.
Declaration
public bool ActiveMouseOverLargeHUD { get; }
Property Value
|
Improve this Doc
View Source
CompassCamera
Gets or sets a compass camera to automatically determine compass heading.
Declaration
public Camera CompassCamera { get; set; }
Property Value
|
Improve this Doc
View Source
CustomScale
Gets or sets custom scaling value for all large HUD controls.
Declaration
public Vector2 CustomScale { get; set; }
Property Value
|
Improve this Doc
View Source
EulerAngle
Gets or a sets a Euler angle to use for compass heading.
This value is only observed when CompassCamera is null.
Declaration
public float EulerAngle { get; set; }
Property Value
|
Improve this Doc
View Source
HeadTexture
Gets or sets texture for head image. Set to null if a refresh of head texture is needed.
Head texture can change at runtime, e.g. loading a new game, lycanthrope shapechange, vampire infection.
Declaration
public Texture2D HeadTexture { get; set; }
Property Value
|
Improve this Doc
View Source
ScreenHeight
Gets height of large HUD in screen space pixels (relative to configured resolution).
Always 0 when large HUD disabled
Declaration
public float ScreenHeight { get; }
Property Value
Methods
|
Improve this Doc
View Source
MouseEnter()
Declaration
protected override void MouseEnter()
Overrides
|
Improve this Doc
View Source
MouseLeave(BaseScreenComponent)
Declaration
protected override void MouseLeave(BaseScreenComponent sender)
Parameters
Overrides
|
Improve this Doc
View Source
Update()
Declaration
public override void Update()
Overrides