ViewsSplitEvent
Since 0.7
views-split's data: the shared camera ({@link ViewsHandle.shared}) split the window.
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
| Member | Signature | Description |
|---|---|---|
layout | layout: ViewLayout | The layout it split into. |
views | views: number | How many views: one per live target, two to four. |
spread | spread: number | The targets' spread when it split: the widest distance between two of them, metres. |
targets | targets: string[] | The id of the target each view frames, view 1 first. |