Class GPUVideoEffectDirectionalBlur
Directional blur effect.
Inherited Members
Namespace: VisioForge.Core.Types.VideoEffects
Assembly: VisioForge.Core.dll
Syntax
public class GPUVideoEffectDirectionalBlur : GPUVideoEffect, IGPUVideoEffectDirectionalBlur, IGPUVideoEffect
Constructors
GPUVideoEffectDirectionalBlur(bool, int, int, string, TimeSpan, TimeSpan)
Initializes a new instance of the GPUVideoEffectDirectionalBlur class.
Declaration
public GPUVideoEffectDirectionalBlur(bool enabled, int amount, int angle, string name = "DirectionalBlur", TimeSpan startTime = default, TimeSpan stopTime = default)
Parameters
Type | Name | Description |
---|---|---|
bool | enabled | True to enable effects. |
int | amount | Blur value. Range 0 - 100. |
int | angle | Angle (-360 to 360, default is 0). |
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
Amount
Gets or sets blur value (0 to 100).
Declaration
public int Amount { get; set; }
Property Value
Type | Description |
---|---|
int |
Angle
Gets or sets angle (-360 to 360, default is 0).
Declaration
public int Angle { get; set; }
Property Value
Type | Description |
---|---|
int |
Methods
GetEffectType()
Gets type.
Declaration
public GPUVideoEffectType GetEffectType()
Returns
Type | Description |
---|---|
GPUVideoEffectType | The VideoEffectType. |