Table of Contents

Method SetCurrentPreviewScene

Namespace
OBSStudioClient
Assembly
OBSClient.dll

SetCurrentPreviewScene(SceneRef, CancellationToken)

Sets the current preview scene.

public Task SetCurrentPreviewScene(SceneRef scene, CancellationToken cancellationToken = default)

Parameters

scene SceneRef

The scene, by name or by UUID.

cancellationToken CancellationToken

A 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

Task

Remarks

Only available when studio mode is enabled.