Method SetCurrentProgramScene
- Namespace
- OBSStudioClient
- Assembly
- OBSClient.dll
SetCurrentProgramScene(SceneRef, CancellationToken)
Sets the current program scene.
public Task SetCurrentProgramScene(SceneRef scene, CancellationToken cancellationToken = default)
Parameters
sceneSceneRefThe scene, by name or by UUID.
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.