GameViz Module
Live REPL visualization API. Thread-safe, single viewer instance.
Functions and values
| Function or value |
Description
|
|
|
Full Usage:
attachWithState mapGrid metalSpots teamId
Parameters:
MapGrid
metalSpots : (float32 * float32 * float32 * float32) array
teamId : int
|
|
|
|
|
|
|
Returns the current set of active overlays. Thread-safe; takes a snapshot under the same lock the `toggleOverlay` / `enableOverlay` / `disableOverlay` mutators hold. Added for feature 035-central-gui-hub (FR-017): hub chrome reads this each frame to reflect the in-viewer hotkey state in its own toolbar.
|
Full Usage:
isConfigPanelOpen ()
Parameters:
unit
Returns: bool
|
True if the configurator panel is currently open.
|
|
|
|
|
Full Usage:
pan dx dy
Parameters:
float32
dy : float32
|
|
Full Usage:
resetView ()
Parameters:
unit
|
|
|
|
|
|
|
Replaces the current overlay set wholesale. Use this when the hub chrome's toolbar is the authoritative input, so a single click updates many overlays atomically rather than through a series of toggle calls. Thread-safe.
|
|
|
|
|
|
|
Full Usage:
setDisconnected ()
Parameters:
unit
|
|
Full Usage:
setMarkerSize size
Parameters:
float32
|
|
Full Usage:
setOverlayOpacity opacity
Parameters:
float32
|
|
|
|
Full Usage:
stop ()
Parameters:
unit
|
|
Full Usage:
toggleConfigPanel ()
Parameters:
unit
|
Toggle the style configurator side panel open/closed.
|
Full Usage:
toggleGridLines ()
Parameters:
unit
|
|
|
|
|
|
Full Usage:
zoom factor centerX centerY
Parameters:
float32
centerX : float32
centerY : float32
|
|
FSBarV1_Archived