setSceneSceneTransitionOverride method

Future<void> setSceneSceneTransitionOverride(
  1. String sceneName, {
  2. String? transitionName,
  3. int? transitionDuration,
})

Sets the scene transition overridden for a scene.

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

Implementation

Future<void> setSceneSceneTransitionOverride(String sceneName,
        {String? transitionName, int? transitionDuration}) async =>
    await obsWebSocket
        .sendRequest(Request('SetSceneSceneTransitionOverride', requestData: {
      'sceneName': sceneName,
      'transitionName': transitionName,
      'transitionDuration': transitionDuration,
    }));