Table of Contents

Method GetSceneItems

Namespace
OBSStudioClient.Model
Assembly
OBSClient.dll

GetSceneItems()

Gets every scene item that shows this scene or input, in every scene (a scene that OBS Studio keeps alive after its removal included), as they are at the moment that you ask.

public IReadOnlyList<ObsSceneItem> GetSceneItems()

Returns

IReadOnlyList<ObsSceneItem>

The scene items, in the order of the list of scenes and, in each scene, from the bottom to the top.

Remarks

OBS Studio can show the same source in several scenes, and several times in one scene. The list is made from the scenes when you ask for it, so it takes a little time in a model with thousands of scene items, and it is not kept up to date: ask again, or follow Changed. That is why this is a method, and not a property: nothing can tell you when the answer changes.