Skip to content

PanoramaPanel

The PanoramaPanel class provides access to Panorama panel state, traversal, and script interactions.


Properties

handlenumber

The handle.


is_validboolean

The is valid.


Methods

SetOpacity(val: number)void

Sets the opacity.

  • valnumber - The val.

GetOpacity()number

Retrieves the opacity.

Returned:

  • number - The requested opacity.

GetID()string

Retrieves the HTTP request identifier.

Returned:

  • string - The requested id.

GetPosition()[number, number]

Retrieves the position.

Returned:

  • [number, number] - The requested position.

GetChilds()PanoramaPanel[]

Retrieves the childs.

Returned:


FindChild(name: string)PanoramaPanel | null

Finds the child.

  • namestring - The name.

Returned:

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

FindChildFromPath(path: string[])PanoramaPanel | null

Finds the child from path.

  • pathstring[] - The path.

Returned:

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

GetSize()[number, number]

Retrieves the size.

Returned:

  • [number, number] - The requested size.

GetOffset()[number, number]

Retrieves the offset.

Returned:

  • [number, number] - The requested offset.

SetForceDraw(val: boolean)void

Sets the force draw.

  • valboolean - The val.

Invalidate()void

Provides access to invalidate.


IsValid()boolean

Checks whether it is valid.

Returned:

  • boolean - True if the condition is met, false otherwise.

LoadLayout(layoutFile: string, option1: boolean, option2: boolean)void

Loads the layout.

  • layoutFilestring - The layout file.
  • option1boolean - The option1.
  • option2boolean - The option2.

RunScript(script: string, scriptLocation?: string)void

Provides access to run script.

  • scriptstring - The script.
  • scriptLocationstring (optional) - The script location.

DeleteAsync(delay?: number)void

Provides access to delete async.

  • delaynumber (optional) - The delay.