Method SetCurrentSceneTransition
- Namespace
- OBSStudioClient
- Assembly
- OBSClient.dll
SetCurrentSceneTransition(string, CancellationToken)
Sets the current scene transition.
public Task SetCurrentSceneTransition(string transitionName, CancellationToken cancellationToken = default)
Parameters
transitionNamestringName of the transition to make active.
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.
Returns
Remarks
Small note: While the namespace of scene transitions is generally unique, that uniqueness is not a guarantee as it is with other resources like inputs.