ChromaKeyFilter <TSource>
Hierarchy
- Filter<ChromaKeyFilterSettings, TSource>
- ChromaKeyFilter
Index
Constructors
Properties
Methods
Constructors
constructor
Type parameters
- TSource: Source<{}, TSource>
Parameters
Returns ChromaKeyFilter<TSource>
Properties
enabled
kind
name
ref
settings
Type declaration
optionalbrightness?: number
optionalcontrast?: number
optionalgamma?: number
optionalkey_color?: number
optionalkey_color_type?: ChromaKeyColorType
optionalopacity?: number
optionalsimilarity?: number
optionalsmoothness?: number
optionalspill?: number
source
Methods
getDefaultSettings
Returns Promise<Settings>
remove
Returns Promise<void>
setEnabled
Parameters
enabled: boolean
Returns Promise<void>
setSettings
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>