Method RemoveScene
- Namespace
- OBSStudioClient
- Assembly
- OBSClient.dll
RemoveScene(SceneRef, Guid?, CancellationToken)
Removes a scene from OBS.
public Task RemoveScene(SceneRef scene, Guid? canvasUuid = null, CancellationToken cancellationToken = default)
Parameters
sceneSceneRefThe scene to remove, by name or by UUID.
canvasUuidGuid?UUID of the canvas the scene is in, if the scene 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.