Class GPUVideoEffectPixelate
Pixelate effect.
Inherited Members
Namespace: VisioForge.Core.Types.VideoEffects
Assembly: VisioForge.Core.dll
Syntax
public class GPUVideoEffectPixelate : GPUVideoEffect, IGPUVideoEffectPixelate, IGPUVideoEffect
Constructors
GPUVideoEffectPixelate(bool, PointF, float, string, TimeSpan, TimeSpan)
Initializes a new instance of the GPUVideoEffectPixelate class.
Declaration
public GPUVideoEffectPixelate(bool enabled, PointF pixelCounts = default, float brickOffset = 0.5, string name = "Pixelate", TimeSpan startTime = default, TimeSpan stopTime = default)
Parameters
Type | Name | Description |
---|---|---|
bool | enabled | True to enable effects. |
PointF | pixelCounts | Pixel counts value (0 to 1000). |
float | brickOffset | Brick offset (0.0f to 1.0f). |
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
BrickOffset
Gets or sets brick offset (0.0f to 1.0f).
Declaration
public float BrickOffset { get; set; }
Property Value
Type | Description |
---|---|
float |
PixelCounts
Gets or sets pixel counts value (0 to 1000).
Declaration
public PointF PixelCounts { get; set; }
Property Value
Type | Description |
---|---|
PointF |
Methods
GetEffectType()
Gets type.
Declaration
public GPUVideoEffectType GetEffectType()
Returns
Type | Description |
---|---|
GPUVideoEffectType | The VideoEffectType. |