Skip to content

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:


FindByName(name: string)PanoramaPanel | null ​

Finds the first Panorama panel with the specified name.

  • namestring - The name.

Returned:

  • PanoramaPanel | null - The matching object, or null if it is not available.

GetDashboardRoot()PanoramaPanel | null ​

Retrieves the root dashboard Panorama panel.

Returned:

  • PanoramaPanel | null - The matching object, or null if it is not available.

GetDotaHudRoot()PanoramaPanel | null ​

Retrieves the root Dota HUD Panorama panel.

Returned:

  • PanoramaPanel | null - The matching object, or null if 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: