Table of Contents

Method AddGetSceneItemIdRequest

Namespace
OBSStudioClient.Messages
Assembly
OBSClient.dll

AddGetSceneItemIdRequest(SceneRef, string, int?, Guid?)

Adds a GetSceneItemId request to the batch.

public void AddGetSceneItemIdRequest(SceneRef scene, string sourceName, int? searchOffset = null, Guid? canvasUuid = null)

Parameters

scene SceneRef

The scene or group to search in, by name or by UUID.

sourceName string

Name of the source to find.

searchOffset int?

Number of matches to skip during search. >= 0 means first forward. -1 means last (top) item. Restrictions: >= -1. If omitted: 0.

canvasUuid Guid?

UUID of the canvas the scene or group is in, if the scene is given by name.

Remarks

Searches a scene for a source, and returns its id.

Scenes and Groups.