Method AddCreateSceneItemRequest
- Namespace
- OBSStudioClient.Messages
- Assembly
- OBSClient.dll
AddCreateSceneItemRequest(SceneRef, SourceRef, bool?, Guid?)
Adds a CreateSceneItem request to the batch.
public void AddCreateSceneItemRequest(SceneRef scene, SourceRef source, bool? sceneItemEnabled = null, Guid? canvasUuid = null)
Parameters
sceneSceneRefThe scene to create the new item in, by name or by UUID.
sourceSourceRefThe source to add to the scene, by name or by UUID.
sceneItemEnabledbool?Enable state to apply to the scene item on creation. If omitted: True.
canvasUuidGuid?UUID of the canvas the scene is in, if the scene is given by name.
Remarks
Creates a new scene item using a source.
Scenes only.