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
sceneSceneRefThe scene or group to search in, by name or by UUID.
sourceNamestringName of the source to find.
searchOffsetint?Number of matches to skip during search. >= 0 means first forward. -1 means last (top) item. Restrictions: >= -1. If omitted: 0.
canvasUuidGuid?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.