Method SetCurrentSceneTransitionDuration
- Namespace
- OBSStudioClient
- Assembly
- OBSClient.dll
SetCurrentSceneTransitionDuration(float, CancellationToken)
Sets the duration of the current scene transition, if it is not fixed.
public Task SetCurrentSceneTransitionDuration(float transitionDuration, CancellationToken cancellationToken = default)
Parameters
transitionDurationfloatDuration in milliseconds. Restrictions: >= 50, <= 20000.
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.