Skip to content
Void Monster Docs

Type to search guides and API reference.

    OBS Utils/Developer docs

    Interface: OverlayType

    Public 5.3.0API 5.3.0

    @faeyumbrea/obs-utils-api-types


    @faeyumbrea/obs-utils-api-types / OverlayType

    Defined in: api.d.ts:206

    Public compile-time contract for modules integrating with OBS Utils.

    compactEditorButtons: Map<string, boolean>

    Defined in: api.d.ts:212


    hasCustomOverlayEditor: boolean

    Defined in: api.d.ts:214


    overlayClass: Component

    Defined in: api.d.ts:209


    overlayComponentEditors: Map<string, Component<any, any, any>>

    Defined in: api.d.ts:211


    overlayComponentImageSlots: Map<string, ImageSlotHandlers>

    Defined in: api.d.ts:213


    overlayComponentNames: Map<string, string>

    Defined in: api.d.ts:210


    overlayComponents: Map<string, Component<any, any, any>>

    Defined in: api.d.ts:208


    overlayEditor: Component

    Defined in: api.d.ts:207


    perActor: boolean

    Defined in: api.d.ts:215

    registerComponent(key, readableName, type): void

    Defined in: api.d.ts:227

    Register a renderable component type for this overlay.

    string

    Stable key referenced from overlay data (e.g. ‘pt’, ‘pb’).

    string

    i18n key for the display label. Resolved via game.i18n.localize() at render time. Pass a literal string only if you intentionally ship a single-locale module.

    Component<any, any, any>

    The Svelte component class that renders the data.

    void


    registerComponentEditor(key, editor, compactButtons?): void

    Defined in: api.d.ts:228

    string

    Component<any, any, any>

    boolean

    void


    registerComponentImageSlots(key, handlers): void

    Defined in: api.d.ts:229

    string

    ImageSlotHandlers

    void


    registerOverlayEditor(editor): void

    Defined in: api.d.ts:217

    Component<any, any, any>

    void