Table of Contents

Method SetSceneName

Namespace
OBSStudioClient
Assembly
OBSClient.dll

SetSceneName(SceneRef, string, Guid?, CancellationToken)

Sets the name of a scene (rename).

public Task SetSceneName(SceneRef scene, string newSceneName, Guid? canvasUuid = null, CancellationToken cancellationToken = default)

Parameters

scene SceneRef

The scene to be renamed, by name or by UUID.

newSceneName string

New name for the scene.

canvasUuid Guid?

UUID of the canvas the scene is in, if the scene is given by name.

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