DCS World Typescript
    Preparing search index...

    Indicator objects are module-specific and may expose viewport helpers.

    interface ExportIndicator {
        assign_dedicated_viewport?(
            x: number,
            y: number,
            width: number,
            height: number,
        ): void;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown
    Index
    • Assigns this indicator to a dedicated viewport rectangle.

      This optional callback is supplied only by indicators that support rendering into an exported viewport.

      Parameters

      • x: number

        Left edge of the viewport in pixels.

      • y: number

        Top edge of the viewport in pixels.

      • width: number

        Viewport width in pixels.

      • height: number

        Viewport height in pixels.

      Returns void

      Nothing.

      indicator.assign_dedicated_viewport?.(0, 0, 512, 512);