Method SetCurrentSceneCollection
- Namespace
- OBSStudioClient
- Assembly
- OBSClient.dll
SetCurrentSceneCollection(string, CancellationToken)
Switches to a scene collection.
public Task SetCurrentSceneCollection(string sceneCollectionName, CancellationToken cancellationToken = default)
Parameters
sceneCollectionNamestringName of the scene collection to switch to.
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.
Returns
Remarks
Note: This will block until the collection has finished changing.