Class GPUVideoEffectMonoChrome
Monchrome effect.
Inherited Members
Namespace: VisioForge.Core.Types.VideoEffects
Assembly: VisioForge.Core.dll
Syntax
public class GPUVideoEffectMonoChrome : GPUVideoEffect, IGPUVideoEffectMonoChrome, IGPUVideoEffect
Constructors
GPUVideoEffectMonoChrome(bool, Color, string, TimeSpan, TimeSpan)
Initializes a new instance of the GPUVideoEffectMonoChrome class.
Declaration
public GPUVideoEffectMonoChrome(bool enabled, Color value, string name = "Monochrome", TimeSpan startTime = default, TimeSpan stopTime = default)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | enabled | True to enable effects. |
| Color | value | Filtering color. |
| string | name | Effect name. Can be used to get effect interface to control it. |
| TimeSpan | startTime | Start time. Use 0 to show effect always. |
| TimeSpan | stopTime | Stop time. Use 0 to show effect always. |
Properties
Value
Gets or sets filtering color.
Declaration
public Color Value { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
Methods
GetEffectType()
Gets type.
Declaration
public GPUVideoEffectType GetEffectType()
Returns
| Type | Description |
|---|---|
| GPUVideoEffectType | The VideoEffectType. |