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
sceneSceneRefThe scene the item is in, by name or by UUID.
sceneItemIdintNumeric ID of the scene item. Restrictions: >= 0.
destinationSceneSceneRef?The scene to create the duplicated item in, by name or by UUID. If omitted: From scene is assumed.
canvasUuidGuid?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.