Method SetSourceFilterIndex
- Namespace
- OBSStudioClient
- Assembly
- OBSClient.dll
SetSourceFilterIndex(SourceRef, string, int, Guid?, CancellationToken)
Sets the index position of a filter on a source.
public Task SetSourceFilterIndex(SourceRef source, string filterName, int filterIndex, Guid? canvasUuid = null, CancellationToken cancellationToken = default)
Parameters
sourceSourceRefThe source the filter is on, by name or by UUID.
filterNamestringName of the filter.
filterIndexintNew index position of the filter. Restrictions: >= 0.
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.