Table of Contents

Method GetSceneItemBlendMode

Namespace
OBSStudioClient
Assembly
OBSClient.dll

GetSceneItemBlendMode(SceneRef, int, Guid?, CancellationToken)

Gets the blend mode of a scene item.

public Task<BlendMode> GetSceneItemBlendMode(SceneRef scene, int sceneItemId, Guid? canvasUuid = null, CancellationToken cancellationToken = default)

Parameters

scene SceneRef

The scene the item is in, by name or by UUID.

sceneItemId int

Numeric ID of the scene item. Restrictions: >= 0.

canvasUuid Guid?

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

cancellationToken CancellationToken

A 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

Task<BlendMode>

Current blend mode.

Remarks

Blend modes:.

- OBS_BLEND_NORMAL - OBS_BLEND_ADDITIVE - OBS_BLEND_SUBTRACT - OBS_BLEND_SCREEN - OBS_BLEND_MULTIPLY - OBS_BLEND_LIGHTEN - OBS_BLEND_DARKEN.

Scenes and Groups.