Table of Contents

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

scene SceneRef

The scene to create the new item in, by name or by UUID.

source SourceRef

The source to add to the scene, by name or by UUID.

sceneItemEnabled bool?

Enable state to apply to the scene item on creation. If omitted: True.

canvasUuid Guid?

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.