# OverlayInterface

class `Sc.``OverlayInterface`()

  ## Index

  Methods

  - `destroy`
  - `maxIndex`
  - `setCamera`
  - `setViewport`
  - `setVisible`

## Methods

`Sc.OverlayInterface.``destroy`()
  destroy(viewKey: `ViewKey`, index: number): void

  Parameters

  > viewKey: `ViewKey`

  > index: number

  Returns: void

`Sc.OverlayInterface.``maxIndex`()
  maxIndex(): number

  Returns: number

`Sc.OverlayInterface.``setCamera`()
  setCamera(viewKey: `ViewKey`, index: number, Camera: `Camera`): void

  Parameters

  > viewKey: `ViewKey`

  > index: number

  > Camera: `Camera`

  Returns: void

`Sc.OverlayInterface.``setViewport`()
  setViewport(viewKey: `ViewKey`, index: number, anchor: `OverlayAnchor`, xOffset: number, xUnit: `OverlayUnit`, yOffset: number, yUnit: `OverlayUnit`, width: number, widthUnit: `OverlayUnit`, height: number, heightUnit: `OverlayUnit`): void

  Parameters

  > viewKey: `ViewKey`

  > index: number

  > anchor: `OverlayAnchor`

  > xOffset: number

  > xUnit: `OverlayUnit`

  > yOffset: number

  > yUnit: `OverlayUnit`

  > width: number

  > widthUnit: `OverlayUnit`

  > height: number

  > heightUnit: `OverlayUnit`

  Returns: void

`Sc.OverlayInterface.``setVisible`()
  setVisible(viewKey: `ViewKey`, index: number, visibility: boolean): void

  Parameters

  > viewKey: `ViewKey`

  > index: number

  > visibility: boolean

  Returns: void

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your Docs generative AI assistant. Ask me anything about HOOPS Visualize Web or choose a sample question below to start a conversation:

What is HOOPS Visualize Web?
What are the latest release notes for HOOPS Visualize Web?
How do I start evaluating HOOPS Visualize Web?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...