Method SetSceneItemBlendMode
- Namespace
- OBSStudioClient
- Assembly
- OBSClient.dll
SetSceneItemBlendMode(SceneRef, int, BlendMode, Guid?, CancellationToken)
Sets the blend mode of a scene item.
public Task SetSceneItemBlendMode(SceneRef scene, int sceneItemId, BlendMode sceneItemBlendMode, Guid? canvasUuid = null, CancellationToken cancellationToken = default)
Parameters
sceneSceneRefThe scene the item is in, by name or by UUID.
sceneItemIdintNumeric ID of the scene item. Restrictions: >= 0.
sceneItemBlendModeBlendModeNew blend mode.
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 and Groups.