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