Class VideoEffectDarkness
Darkness effect.
Inherited Members
Namespace: VisioForge.Core.Types.VideoEffects
Assembly: VisioForge.Core.dll
Syntax
public class VideoEffectDarkness : VideoEffect, IVideoEffectDarkness, IVideoEffect
Constructors
VideoEffectDarkness(bool, int, int, string, TimeSpan, TimeSpan)
Initializes a new instance of the VideoEffectDarkness class.
Declaration
public VideoEffectDarkness(bool enabled, int value, int valueStop = 0, string name = "Darkness", TimeSpan startTime = default, TimeSpan stopTime = default)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | enabled | True to enable effects. |
| int | value | Darkness value. Range is 0-255. |
| int | valueStop | Darkness stop value (optional). Range is 0-255. |
| 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 darkness value. Range is 0-255.
Declaration
public int Value { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
ValueStop
Gets or sets darkness stop value (optional). Range is 0-255.
Declaration
public int ValueStop { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
GetEffectType()
Gets type.
Declaration
public VideoEffectType GetEffectType()
Returns
| Type | Description |
|---|---|
| VideoEffectType | The VideoEffectType. |