Table of Contents

Method AddDuplicateSceneItemRequest

Namespace
OBSStudioClient.Messages
Assembly
OBSClient.dll

AddDuplicateSceneItemRequest(SceneRef, int, SceneRef?, Guid?)

Adds a DuplicateSceneItem request to the batch.

public void AddDuplicateSceneItemRequest(SceneRef scene, int sceneItemId, SceneRef? destinationScene = null, Guid? canvasUuid = null)

Parameters

scene SceneRef

The scene the item is in, by name or by UUID.

sceneItemId int

Numeric ID of the scene item. Restrictions: >= 0.

destinationScene SceneRef?

The scene to create the duplicated item in, by name or by UUID. If omitted: From scene is assumed.

canvasUuid Guid?

UUID of the canvas the scene is in, if the scene is given by name.

Remarks

Duplicates a scene item, copying all transform and crop info.

Scenes only.