Class GPUVideoEffectBrightness
Brightness effect.
Inherited Members
Namespace: VisioForge.Core.Types.VideoEffects
Assembly: VisioForge.Core.dll
Syntax
public class GPUVideoEffectBrightness : GPUVideoEffect, IGPUVideoEffectBrightness, IGPUVideoEffect
Constructors
GPUVideoEffectBrightness(bool, int, string, TimeSpan, TimeSpan)
Initializes a new instance of the GPUVideoEffectBrightness class.
Declaration
public GPUVideoEffectBrightness(bool enabled, int value, string name = "Brightness", TimeSpan startTime = default, TimeSpan stopTime = default)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | enabled | True to enable effects. |
| int | value | Brightness value. Range 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 brightness value. Range 0 - 255.
Declaration
public int Value { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
GetEffectType()
Gets type.
Declaration
public GPUVideoEffectType GetEffectType()
Returns
| Type | Description |
|---|---|
| GPUVideoEffectType | The VideoEffectType. |