Method GetSceneItemList
- Namespace
- OBSStudioClient
- Assembly
- OBSClient.dll
GetSceneItemList(SceneRef, Guid?, CancellationToken)
Gets a list of all scene items in a scene.
public Task<SceneItem[]> GetSceneItemList(SceneRef scene, Guid? canvasUuid = null, CancellationToken cancellationToken = default)
Parameters
sceneSceneRefThe scene to get the items of, by name or by UUID.
canvasUuidGuid?UUID of the canvas the scene is in, if the scene is given by name.
cancellationTokenCancellationTokenA token that ends the wait for the response, which makes the method throw an OperationCanceledException. A request that was already sent is not undone: OBS Studio may still carry it out.
Returns
Remarks
Scenes only.