Struct Blur1DEffectConfiguration
The directional blur effect downsamples and then blurs the image along a direction
Namespace: Yak2D
Assembly: Yak2D.Api.dll
Syntax
public struct Blur1DEffectConfiguration
Properties
BlurDirection
Direction Vector of 1 dimensional blur
Declaration
public Vector2 BlurDirection { get; set; }
Property Value
| Type | Description |
|---|---|
| Vector2 |
MixAmount
Fraction of result that is blur result versus original source (0 to 1)
Declaration
public float MixAmount { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single |
NumberOfBlurSamples
Number of blur samples (MAX 8, will be capped)
Declaration
public int NumberOfBlurSamples { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
ReSamplerType
Pixel sampling method (nearest neighbour, 2x2, 4x4)
Declaration
public ResizeSamplerType ReSamplerType { get; set; }
Property Value
| Type | Description |
|---|---|
| ResizeSamplerType |