Method AddSetSceneItemIndexRequest
- Namespace
- OBSStudioClient.Messages
- Assembly
- OBSClient.dll
AddSetSceneItemIndexRequest(SceneRef, int, int, Guid?)
Adds a SetSceneItemIndex request to the batch.
public void AddSetSceneItemIndexRequest(SceneRef scene, int sceneItemId, int sceneItemIndex, Guid? canvasUuid = null)
Parameters
sceneSceneRefThe scene the item is in, by name or by UUID.
sceneItemIdintNumeric ID of the scene item. Restrictions: >= 0.
sceneItemIndexintNew index position of the scene item. Restrictions: >= 0.
canvasUuidGuid?UUID of the canvas the scene is in, if the scene is given by name.
Remarks
Sets the index position of a scene item in a scene.
Scenes and Groups.