Class GPUVideoEffectSaturation
Saturation effect.
Inherited Members
Namespace: VisioForge.Core.Types.VideoEffects
Assembly: VisioForge.Core.dll
Syntax
public class GPUVideoEffectSaturation : GPUVideoEffect, IGPUVideoEffectSaturation, IGPUVideoEffect
Constructors
GPUVideoEffectSaturation(bool, int, string, TimeSpan, TimeSpan)
Initializes a new instance of the GPUVideoEffectSaturation class.
Declaration
public GPUVideoEffectSaturation(bool enabled, int value, string name = "Saturation", TimeSpan startTime = default, TimeSpan stopTime = default)
Parameters
Type | Name | Description |
---|---|---|
bool | enabled | True to enable effects. |
int | value | Saturation 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 saturation 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. |