Talos docs

ViewsSplitEvent

Since 0.7

views-split's data: the shared camera ({@link ViewsHandle.shared}) split the window.

Plain text

Signature

export interface ViewsSplitEvent {
  /** The layout it split into. */
  layout: ViewLayout
  /** How many views: one per live target, two to four. */
  views: number
  /** The targets' spread when it split: the widest distance between two of them, metres. */
  spread: number
  /** The id of the target each view frames, view 1 first. */
  targets: string[]
}

Import: import type { ViewsSplitEvent } from "@argus/api"

Members

MemberSignatureDescription
layoutlayout: ViewLayoutThe layout it split into.
viewsviews: numberHow many views: one per live target, two to four.
spreadspread: numberThe targets' spread when it split: the widest distance between two of them, metres.
targetstargets: string[]The id of the target each view frames, view 1 first.