Class RandomNoiseEffect.Props
- Namespace
- PaintDotNet.Direct2D1.Effects
- Assembly
- PaintDotNet.Windows.Framework.dll
public sealed class RandomNoiseEffect.Props : CustomEffectProperties
- Inheritance
-
RandomNoiseEffect.Props
- Inherited Members
Constructors
Properties
- AlphaMode
Specifies the alpha mode of the output.
The default value is Premultiplied.
- MaxValue
Specifies the maximum value for each color channel.
The default value is{ 1, 1, 1, 1 }
.
- MinValue
Specifies the minimum value for each color channel.
The default value is{ 0, 0, 0, 0 }
.
- Seed
Specifies the random seed for the effect. If two instances of this effect have the same value for their Seed property, they will generate the same output.
The default value is 0. You can set this to(uint)Random.Shared.Next()
to make sure each instance of the effect has different output.