Skip to main content

ChromaKeyFilter <TSource>

Hierarchy

Index

Constructors

constructor

Properties

enabled

enabled: boolean

kind

kind: string

name

name: string

ref

ref: string

settings

settings: { brightness?: number; contrast?: number; gamma?: number; key_color?: number; key_color_type?: ChromaKeyColorType; opacity?: number; similarity?: number; smoothness?: number; spill?: number } = ...

Type declaration

  • optionalbrightness?: number
  • optionalcontrast?: number
  • optionalgamma?: number
  • optionalkey_color?: number
  • optionalkey_color_type?: ChromaKeyColorType
  • optionalopacity?: number
  • optionalsimilarity?: number
  • optionalsmoothness?: number
  • optionalspill?: number

source

source: TSource

Methods

getDefaultSettings

  • getDefaultSettings(): Promise<Settings>
  • Returns Promise<Settings>

remove

  • remove(): Promise<void>
  • Returns Promise<void>

setEnabled

  • setEnabled(enabled: boolean): Promise<void>
  • Parameters

    • enabled: boolean

    Returns Promise<void>

setSettings

  • setSettings(settings: { brightness?: number; contrast?: number; gamma?: number; key_color?: number; key_color_type?: ChromaKeyColorType; opacity?: number; similarity?: number; smoothness?: number; spill?: number }, overlay?: boolean): Promise<void>
  • Parameters

    • settings: { brightness?: number; contrast?: number; gamma?: number; key_color?: number; key_color_type?: ChromaKeyColorType; opacity?: number; similarity?: number; smoothness?: number; spill?: number }
    • overlay: boolean = true

    Returns Promise<void>