Method SetSourceFilterSettings
- Namespace
- OBSStudioClient
- Assembly
- OBSClient.dll
SetSourceFilterSettings(SourceRef, string, Dictionary<string, object>, bool?, Guid?, CancellationToken)
Sets the settings of a source filter.
public Task SetSourceFilterSettings(SourceRef source, string filterName, Dictionary<string, object> filterSettings, bool? overlay = null, Guid? canvasUuid = null, CancellationToken cancellationToken = default)
Parameters
sourceSourceRefThe source the filter is on, by name or by UUID.
filterNamestringName of the filter to set the settings of.
filterSettingsDictionary<string, object>Object of settings to apply.
overlaybool?True == apply the settings on top of existing ones, False == reset the input to its defaults, then apply settings. If omitted: true.
canvasUuidGuid?UUID of the canvas the source is in, if the source is given by name.
cancellationTokenCancellationTokenA token that ends the wait for the response, which makes the method throw an OperationCanceledException. A request that was already sent is not undone: OBS Studio may still carry it out.