Table of Contents

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

source SourceRef

The source to add the filter to, by name or by UUID.

filterName string

Name of the new filter to be created.

filterKind string

The kind of filter to be created.

filterSettings Dictionary<string, object>

Settings object to initialize the filter with. If omitted: Default settings used.

canvasUuid Guid?

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.