Exemplo n.º 1
0
  public FilmFilter(float angle) {
    gradient = new GradientFilter();
    gradient.Gradient = Gradient.Fade();
    gradient.OriginAngleDegree = angle;

    saturationFx = new SaturationModifyFilter();
    saturationFx.SaturationFactor = -0.6f;
  }
Exemplo n.º 2
0
  public SceneFilter(float angle, Gradient gradient) {
    gradientFx = new GradientFilter();
    gradientFx.Gradient = gradient;
    gradientFx.OriginAngleDegree = angle;

    saturationFx = new SaturationModifyFilter();
    saturationFx.SaturationFactor = -0.6f;
  }