Method CreateSceneCollection
- Namespace
- OBSStudioClient
- Assembly
- OBSClient.dll
CreateSceneCollection(string, CancellationToken)
Creates a new scene collection, switching to it in the process.
public Task CreateSceneCollection(string sceneCollectionName, CancellationToken cancellationToken = default)
Parameters
sceneCollectionNamestringName for the new scene collection.
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.