Table of Contents

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

transitionDuration float

Duration in milliseconds. Restrictions: >= 50, <= 20000.

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