setCurrentSceneTransitionDuration method

Future<void> setCurrentSceneTransitionDuration(
  1. int transitionDuration
)

Sets the duration of the current scene transition, if it is not fixed.

  • Complexity Rating: 2/5
  • Latest Supported RPC Version: 1
  • Added in v5.0.0

transitionDuration in milliseconds, >= 50, <= 20000

Implementation

Future<void> setCurrentSceneTransitionDuration(
        int transitionDuration) async =>
    await obsWebSocket.sendRequest(Request(
        'SetCurrentSceneTransitionDuration',
        requestData: {'transitionDuration': transitionDuration}));