Panorama
The Panorama namespace provides helpers for finding, creating, and interacting with Panorama panels.
Functions
FindByNameAll(name: string)PanoramaPanel[]
Finds all Panorama panels with the specified name.
namestring - The name.
Returned:
- PanoramaPanel[] - An array with the matching values.
FindByName(name: string)PanoramaPanel | null
Finds the first Panorama panel with the specified name.
namestring - The name.
Returned:
- PanoramaPanel | null - The matching object, or
nullif it is not available.
GetDashboardRoot()PanoramaPanel | null
Retrieves the root dashboard Panorama panel.
Returned:
- PanoramaPanel | null - The matching object, or
nullif it is not available.
GetDotaHudRoot()PanoramaPanel | null
Retrieves the root Dota HUD Panorama panel.
Returned:
- PanoramaPanel | null - The matching object, or
nullif it is not available.
CreatePanel(type: string, parent: PanoramaPanel, id: string)PanoramaPanel
Creates a new Panorama panel under the specified parent.
typestring - The type.parentPanoramaPanel - The parent panel.idstring - The id.
Returned:
- PanoramaPanel - The result of the call.