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
sceneSceneRefThe scene, by name or by UUID.
transitionNamestringName of the scene transition to use as override. Specify
nullto remove.transitionDurationint?Duration to use for any overridden transition. Specify
nullto remove. Restrictions: >= 50, <= 20000.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.