public FilmFilter(float angle) { gradient = new GradientFilter(); gradient.Gradient = Gradient.Fade(); gradient.OriginAngleDegree = angle; saturationFx = new SaturationModifyFilter(); saturationFx.SaturationFactor = -0.6f; }
public SceneFilter(float angle, Gradient gradient) { gradientFx = new GradientFilter(); gradientFx.Gradient = gradient; gradientFx.OriginAngleDegree = angle; saturationFx = new SaturationModifyFilter(); saturationFx.SaturationFactor = -0.6f; }