Hierarchy

  • default

Constructors

Methods

  • Returns the current HUD width (after being clamped by min & max).

    Returns number

  • Returns the maximum HUD width (it's always 1, which puts stuff at the edges).

    Returns number

  • Returns the minimum HUD width we allow, 800.

    Returns number

  • Returns the currently "requested" HUD width.

    Parameters

    • width: number = ...

    Returns number

  • Requests a new HUD Width, a multiplier of the default size.

    Parameters

    • width: number

    Returns void

  • Updates the HUD width based on the current viewport.

    Returns void

Generated using TypeDoc