Show / Hide Table of Contents

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.

Inheritance
Object
BaseScreenComponent
Panel
HUDLarge
Inherited Members
Panel.Components
Panel.EnableBorder
Panel.HasFocusOutlineColor
Panel.LostFocusOutlineColor
Panel.Outline
Panel.Draw()
Panel.SetBorderTextures(Texture2D, Texture2D, Texture2D, Texture2D, Texture2D, Texture2D, Texture2D, Texture2D, Texture2D, FilterMode, Nullable<Border<Vector2Int>>)
Panel.GotFocus()
Panel.LostFocus()
Panel.ProcessHotkeySequences(HotkeySequence.KeyModifiers)
BaseScreenComponent.rectRestrictedRenderArea
BaseScreenComponent.restrictedRenderAreaCustomParent
BaseScreenComponent.restrictedRenderAreaCoordinateType
BaseScreenComponent.backgroundTexture
BaseScreenComponent.animatedBackgroundTextures
BaseScreenComponent.backgroundTextureLayout
BaseScreenComponent.OnKeyboardEvent
BaseScreenComponent.OnMouseEnter
BaseScreenComponent.OnMouseLeave
BaseScreenComponent.OnMouseMove
BaseScreenComponent.OnMouseDown
BaseScreenComponent.OnMouseUp
BaseScreenComponent.OnMouseClick
BaseScreenComponent.OnMouseDoubleClick
BaseScreenComponent.OnRightMouseDown
BaseScreenComponent.OnRightMouseUp
BaseScreenComponent.OnRightMouseClick
BaseScreenComponent.OnRightMouseDoubleClick
BaseScreenComponent.OnMiddleMouseDown
BaseScreenComponent.OnMiddleMouseUp
BaseScreenComponent.OnMiddleMouseClick
BaseScreenComponent.OnMiddleMouseDoubleClick
BaseScreenComponent.OnMouseScrollUp
BaseScreenComponent.OnMouseScrollDown
BaseScreenComponent.Enabled
BaseScreenComponent.UseFocus
BaseScreenComponent.OverridesHotkeySequences
BaseScreenComponent.Name
BaseScreenComponent.Tag
BaseScreenComponent.Position
BaseScreenComponent.Size
BaseScreenComponent.RootSize
BaseScreenComponent.Parent
BaseScreenComponent.Rectangle
BaseScreenComponent.HorizontalAlignment
BaseScreenComponent.VerticalAlignment
BaseScreenComponent.RestrictedRenderAreaCoordinateType
BaseScreenComponent.RectRestrictedRenderArea
BaseScreenComponent.RestrictedRenderAreaCustomParent
BaseScreenComponent.UseRestrictedRenderArea
BaseScreenComponent.CustomMousePosition
BaseScreenComponent.MousePosition
BaseScreenComponent.LastMousePosition
BaseScreenComponent.ScaledMousePosition
BaseScreenComponent.BackgroundColor
BaseScreenComponent.MouseOverBackgroundColor
BaseScreenComponent.BackgroundColorTexture
BaseScreenComponent.BackgroundTexture
BaseScreenComponent.BackgroundCroppedRect
BaseScreenComponent.AnimatedBackgroundTextures
BaseScreenComponent.AnimationDelayInSeconds
BaseScreenComponent.BackgroundTextureLayout
BaseScreenComponent.InteriorWidth
BaseScreenComponent.InteriorHeight
BaseScreenComponent.Scale
BaseScreenComponent.AutoSize
BaseScreenComponent.LocalScale
BaseScreenComponent.ToolTip
BaseScreenComponent.ToolTipText
BaseScreenComponent.SuppressToolTip
BaseScreenComponent.MinAutoScale
BaseScreenComponent.MaxAutoScale
BaseScreenComponent.MouseOverComponent
BaseScreenComponent.TopMargin
BaseScreenComponent.BottomMargin
BaseScreenComponent.LeftMargin
BaseScreenComponent.RightMargin
BaseScreenComponent.ScreenToLocal(Vector2)
BaseScreenComponent.ScreenToLocal(Rect)
BaseScreenComponent.TriggerMouseClick()
BaseScreenComponent.KeyboardEvent(Event)
BaseScreenComponent.MouseClick(Vector2)
BaseScreenComponent.RightMouseClick(Vector2)
BaseScreenComponent.MiddleMouseClick(Vector2)
BaseScreenComponent.MouseDoubleClick(Vector2)
BaseScreenComponent.RightMouseDoubleClick(Vector2)
BaseScreenComponent.MiddleMouseDoubleClick(Vector2)
BaseScreenComponent.MouseMove(Int32, Int32)
BaseScreenComponent.MouseScrollUp()
BaseScreenComponent.MouseScrollDown()
BaseScreenComponent.Dispose()
BaseScreenComponent.SetMargins(Margins, Int32)
BaseScreenComponent.OffsetFrom(BaseScreenComponent, Sides, Int32)
BaseScreenComponent.SetFocus()
BaseScreenComponent.HasFocus()
Namespace: DaggerfallWorkshop.Game.UserInterface
Assembly: Assembly-CSharp.dll
Syntax
public class HUDLarge : Panel, IDisposable

Constructors

| Improve this Doc View Source

HUDLarge()

Declaration
public HUDLarge()

Fields

| Improve this Doc View Source

compassCamera

Declaration
protected Camera compassCamera
Field Value
Type Description
Camera
| Improve this Doc View Source

compassPanel

Declaration
protected Panel compassPanel
Field Value
Type Description
Panel
| Improve this Doc View Source

compassPanelRect

Declaration
protected Rect compassPanelRect
Field Value
Type Description
Rect
| Improve this Doc View Source

compassTextures

Declaration
protected Texture2D[] compassTextures
Field Value
Type Description
Texture2D[]
| Improve this Doc View Source

eulerAngle

Declaration
protected float eulerAngle
Field Value
Type Description
Single
| Improve this Doc View Source

fatiguePanelRect

Declaration
protected Rect fatiguePanelRect
Field Value
Type Description
Rect
| Improve this Doc View Source

grabModeSubrect

Declaration
protected Rect grabModeSubrect
Field Value
Type Description
Rect
| Improve this Doc View Source

grabModeTexture

Declaration
protected Texture2D grabModeTexture
Field Value
Type Description
Texture2D
| Improve this Doc View Source

headPanel

Declaration
protected Panel headPanel
Field Value
Type Description
Panel
| Improve this Doc View Source

headPanelRect

Declaration
protected Rect headPanelRect
Field Value
Type Description
Rect
| Improve this Doc View Source

healthPanelRect

Declaration
protected Rect healthPanelRect
Field Value
Type Description
Rect
| Improve this Doc View Source

infoModeSubrect

Declaration
protected Rect infoModeSubrect
Field Value
Type Description
Rect
| Improve this Doc View Source

infoModeTexture

Declaration
protected Texture2D infoModeTexture
Field Value
Type Description
Texture2D
| Improve this Doc View Source

interactionModePanel

Declaration
protected Panel interactionModePanel
Field Value
Type Description
Panel
| Improve this Doc View Source

interactionModePanelRect

Declaration
protected Rect interactionModePanelRect
Field Value
Type Description
Rect
| Improve this Doc View Source

inventoryPanel

Declaration
protected Panel inventoryPanel
Field Value
Type Description
Panel
| Improve this Doc View Source

inventoryPanelRect

Declaration
protected Rect inventoryPanelRect
Field Value
Type Description
Rect
| Improve this Doc View Source

magickaPanelRect

Declaration
protected Rect magickaPanelRect
Field Value
Type Description
Rect
| Improve this Doc View Source

mainColorBackgroundPanel

Declaration
protected Panel mainColorBackgroundPanel
Field Value
Type Description
Panel
| Improve this Doc View Source

mainColorBackgroundPanelRect

Declaration
protected Rect mainColorBackgroundPanelRect
Field Value
Type Description
Rect
| Improve this Doc View Source

mainColorBackgroundTexture

Declaration
protected Texture2D mainColorBackgroundTexture
Field Value
Type Description
Texture2D
| Improve this Doc View Source

mainPanelRect

Declaration
protected Rect mainPanelRect
Field Value
Type Description
Rect
| Improve this Doc View Source

mainTexture

Declaration
protected Texture2D mainTexture
Field Value
Type Description
Texture2D
| Improve this Doc View Source

mapPanel

Declaration
protected Panel mapPanel
Field Value
Type Description
Panel
| Improve this Doc View Source

mapPanelRect

Declaration
protected Rect mapPanelRect
Field Value
Type Description
Rect
| Improve this Doc View Source

nativeInteractionModesTextureSize

Declaration
protected DFSize nativeInteractionModesTextureSize
Field Value
Type Description
DFSize
| Improve this Doc View Source

optionsPanel

Declaration
protected Panel optionsPanel
Field Value
Type Description
Panel
| Improve this Doc View Source

optionsPanelRect

Declaration
protected Rect optionsPanelRect
Field Value
Type Description
Rect
| Improve this Doc View Source

playerEntity

Declaration
protected PlayerEntity playerEntity
Field Value
Type Description
PlayerEntity
| Improve this Doc View Source

restPanel

Declaration
protected Panel restPanel
Field Value
Type Description
Panel
| Improve this Doc View Source

restPanelRect

Declaration
protected Rect restPanelRect
Field Value
Type Description
Rect
| Improve this Doc View Source

sheathPanel

Declaration
protected Panel sheathPanel
Field Value
Type Description
Panel
| Improve this Doc View Source

sheathPanelRect

Declaration
protected Rect sheathPanelRect
Field Value
Type Description
Rect
| Improve this Doc View Source

spellbookPanel

Declaration
protected Panel spellbookPanel
Field Value
Type Description
Panel
| Improve this Doc View Source

spellbookPanelRect

Declaration
protected Rect spellbookPanelRect
Field Value
Type Description
Rect
| Improve this Doc View Source

stealModeSubrect

Declaration
protected Rect stealModeSubrect
Field Value
Type Description
Rect
| Improve this Doc View Source

stealModeTexture

Declaration
protected Texture2D stealModeTexture
Field Value
Type Description
Texture2D
| Improve this Doc View Source

talkModeSubrect

Declaration
protected Rect talkModeSubrect
Field Value
Type Description
Rect
| Improve this Doc View Source

talkModeTexture

Declaration
protected Texture2D talkModeTexture
Field Value
Type Description
Texture2D
| Improve this Doc View Source

transportModePanel

Declaration
protected Panel transportModePanel
Field Value
Type Description
Panel
| Improve this Doc View Source

transportModePanelRect

Declaration
protected Rect transportModePanelRect
Field Value
Type Description
Rect
| Improve this Doc View Source

useMagicItemPanel

Declaration
protected Panel useMagicItemPanel
Field Value
Type Description
Panel
| Improve this Doc View Source

useMagicItemPanelRect

Declaration
protected Rect useMagicItemPanelRect
Field Value
Type Description
Rect
| Improve this Doc View Source

vitals

Declaration
protected HUDVitals vitals
Field Value
Type Description
HUDVitals

Properties

| Improve this Doc View Source

ActiveMouseOverLargeHUD

True when active mouse cursor is over large HUD.

Declaration
public bool ActiveMouseOverLargeHUD { get; }
Property Value
Type Description
Boolean
| 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
Type Description
Camera
| 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
Type Description
Vector2
| 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
Type Description
Single
| 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
Type Description
Texture2D
| 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
Type Description
Single

Methods

| Improve this Doc View Source

MouseEnter()

Declaration
protected override void MouseEnter()
Overrides
BaseScreenComponent.MouseEnter()
| Improve this Doc View Source

MouseLeave(BaseScreenComponent)

Declaration
protected override void MouseLeave(BaseScreenComponent sender)
Parameters
Type Name Description
BaseScreenComponent sender
Overrides
BaseScreenComponent.MouseLeave(BaseScreenComponent)
| Improve this Doc View Source

Update()

Declaration
public override void Update()
Overrides
Panel.Update()
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX