setCurrentSceneTransition method

Future<void> setCurrentSceneTransition(
  1. String transitionName
)

Sets the current scene transition.

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.

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

Implementation

Future<void> setCurrentSceneTransition(String transitionName) async =>
    await obsWebSocket.sendRequest(Request('SetCurrentSceneTransition',
        requestData: {'transitionName': transitionName}));