Table of Contents

Method SetSceneSceneTransitionOverride

Namespace
OBSStudioClient
Assembly
OBSClient.dll

SetSceneSceneTransitionOverride(SceneRef, string?, int?, Guid?, CancellationToken)

Sets the scene transition overridden for a scene.

public Task SetSceneSceneTransitionOverride(SceneRef scene, string? transitionName, int? transitionDuration, Guid? canvasUuid = null, CancellationToken cancellationToken = default)

Parameters

scene SceneRef

The scene, by name or by UUID.

transitionName string

Name of the scene transition to use as override. Specify null to remove.

transitionDuration int?

Duration to use for any overridden transition. Specify null to remove. Restrictions: >= 50, <= 20000.

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