createSceneCollection method

Future<void> createSceneCollection(
  1. String sceneCollectionName
)

Creates a new scene collection, switching to it in the process.

Note: This will block until the collection has finished changing.

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

Implementation

Future<void> createSceneCollection(String sceneCollectionName) async =>
    await obsWebSocket.sendRequest(
      Request(
        'CreateSceneCollection',
        requestData: {'sceneCollectionName': sceneCollectionName},
      ),
    );