Method AddCreateSourceFilterRequest
- Namespace
- OBSStudioClient.Messages
- Assembly
- OBSClient.dll
AddCreateSourceFilterRequest(SourceRef, string, string, Dictionary<string, object>?, Guid?)
Adds a CreateSourceFilter request to the batch.
public void AddCreateSourceFilterRequest(SourceRef source, string filterName, string filterKind, Dictionary<string, object>? filterSettings = null, Guid? canvasUuid = null)
Parameters
sourceSourceRefThe source to add the filter to, by name or by UUID.
filterNamestringName of the new filter to be created.
filterKindstringThe kind of filter to be created.
filterSettingsDictionary<string, object>Settings object to initialize the filter with. If omitted: Default settings used.
canvasUuidGuid?UUID of the canvas the source is in, if the source is given by name.
Remarks
Creates a new filter, adding it to the specified source.