TPG.UI.ComputeLayout()📋 Has LDoc👁️ 0 viewsUpdated 1 month ago
Description
The current frame's top-HUD layout, computing it once per frame and caching the result for every subsequent caller that frame (see the file comment above TPG.UI.Layout for why memoisation-per-frame matters here). (corner boxes), scoreX/scoreY/scoreW/scoreH (centre score panel, width clamped to the real screen width) and pipY/pipSize/pipGap (point pips).
Parameters
No parameters.
Returns
| Type | Description |
|---|---|
table | `TPG.UI.Layout`, with `margin`, `sideW/sideY/sideH` |
Examples
No examples available.
Used In
No usages found in the codebase.