Table of Contents

Class VideoMixerStreamChromaKey

Namespace
VisioForge.Core.Types.X.VideoEffects
Assembly
VisioForge.Core.dll

Video mixer stream with chroma key support. Implements the VisioForge.Core.Types.X.VideoEffects.VideoMixerStream.

public class VideoMixerStreamChromaKey : VideoMixerStream

Inheritance

Inherited Members

Constructors

VideoMixerStreamChromaKey(Rect, uint, ChromaKeySettingsX, double, bool)

Initializes a new instance of the VisioForge.Core.Types.X.VideoEffects.VideoMixerStreamChromaKey class.

public VideoMixerStreamChromaKey(Rect rectangle, uint zorder, ChromaKeySettingsX chromaKeySettings, double alpha = 1, bool chromaKeyEnabled = true)

Parameters

rectangle Rect

The rectangle.

zorder uint

The Z-order.

chromaKeySettings ChromaKeySettingsX

The chroma key settings.

alpha double

The alpha.

chromaKeyEnabled bool

if set to true chroma key is enabled.

Properties

ChromaKeyEnabled

Gets or sets a value indicating whether chroma key effect is enabled.

public bool ChromaKeyEnabled { get; set; }

Property Value

bool

ChromaKeySettings

Gets or sets the chroma key settings.

public ChromaKeySettingsX ChromaKeySettings { get; set; }

Property Value

ChromaKeySettingsX

Methods

ToString()

Returns a string that represents the current chroma key mixer stream, including base stream properties and chroma key state.

public override string ToString()

Returns

string

A formatted string containing the stream's key properties and chroma key configuration.

UpdateChromaKeySettings(ChromaKeySettingsX)

Updates the chroma key settings.

public void UpdateChromaKeySettings(ChromaKeySettingsX settings)

Parameters

settings ChromaKeySettingsX

The new chroma key settings.

See Also