Method AddCreateInputRequest
- Namespace
- OBSStudioClient.Messages
- Assembly
- OBSClient.dll
AddCreateInputRequest(SceneRef, string, string, Dictionary<string, object>?, bool?, Guid?)
Adds a CreateInput request to the batch.
public void AddCreateInputRequest(SceneRef scene, string inputName, string inputKind, Dictionary<string, object>? inputSettings = null, bool? sceneItemEnabled = null, Guid? canvasUuid = null)
Parameters
sceneSceneRefThe scene to add the input to as a scene item, by name or by UUID.
inputNamestringName of the new input to created.
inputKindstringThe kind of input to be created.
inputSettingsDictionary<string, object>Settings object to initialize the input with. If omitted: Default settings used.
sceneItemEnabledbool?Whether to set the created scene item to enabled or disabled. If omitted: True.
canvasUuidGuid?UUID of the canvas the scene is in, if the scene is given by name.
Remarks
Creates a new input, adding it as a scene item to the specified scene.