Method AddSetSceneItemLockedRequest
- Namespace
- OBSStudioClient.Messages
- Assembly
- OBSClient.dll
AddSetSceneItemLockedRequest(SceneRef, int, bool, Guid?)
Adds a SetSceneItemLocked request to the batch.
public void AddSetSceneItemLockedRequest(SceneRef scene, int sceneItemId, bool sceneItemLocked, Guid? canvasUuid = null)
Parameters
sceneSceneRefThe scene the item is in, by name or by UUID.
sceneItemIdintNumeric ID of the scene item. Restrictions: >= 0.
sceneItemLockedboolNew lock state of the scene item.
canvasUuidGuid?UUID of the canvas the scene is in, if the scene is given by name.
Remarks
Sets the lock state of a scene item.
Scenes and Group.