Table of Contents

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

scene SceneRef

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

sceneItemId int

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

sceneItemEnabled bool

New enable state of the scene item.

canvasUuid Guid?

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.