Example #1
0
        /// <summary>
        /// Initializes a new instance of the RandomCircleRevealTransitionEffect class.
        /// </summary>
        public RandomCircleRevealTransitionEffect()
        {
            PixelShader shader = new PixelShader();

            shader.UriSource = TransitionUtilities.MakePackUri("Shaders/RandomCircleReveal.fx.ps");
            this.PixelShader = shader;
        }
Example #2
0
        /// <summary>
        /// Initializes a new instance of the LeastBrightTransitionEffect class.
        /// </summary>
        public LeastBrightTransitionEffect()
        {
            PixelShader shader = new PixelShader();

            shader.UriSource = TransitionUtilities.MakePackUri("Shaders/LeastBright.fx.ps");
            this.PixelShader = shader;
        }
Example #3
0
        /// <summary>
        /// Initializes a new instance of the WaterTransitionEffect class.
        /// </summary>
        public WaterTransitionEffect()
        {
            PixelShader shader = new PixelShader();

            shader.UriSource = TransitionUtilities.MakePackUri("Shaders/Water.fx.ps");
            this.PixelShader = shader;
        }
Example #4
0
        /// <summary>
        /// Initializes a new instance of the CircleStretchTransitionEffect class.
        /// </summary>
        public CircleStretchTransitionEffect()
        {
            PixelShader shader = new PixelShader();

            shader.UriSource = TransitionUtilities.MakePackUri("Shaders/CircleStretch.fx.ps");
            this.PixelShader = shader;
        }
Example #5
0
        /// <summary>
        /// Initializes a new instance of the RadialWiggleTransitionEffect class.
        /// </summary>
        public RadialWiggleTransitionEffect()
        {
            PixelShader shader = new PixelShader();

            shader.UriSource = TransitionUtilities.MakePackUri("Shaders/RadialWiggle.fx.ps");
            this.PixelShader = shader;
        }
Example #6
0
        /// <summary>
        /// Initializes a new instance of the CircleRevealTransitionEffect class.
        /// </summary>
        public CircleRevealTransitionEffect()
        {
            this.UpdateShaderValue(FuzzyAmountProperty);

            PixelShader shader = new PixelShader();

            shader.UriSource = TransitionUtilities.MakePackUri("Shaders/CircleReveal.fx.ps");
            this.PixelShader = shader;
        }
Example #7
0
        /// <summary>
        /// Initializes a new instance of the SmoothSwirlGridTransitionEffect class.
        /// </summary>
        public SmoothSwirlGridTransitionEffect()
        {
            this.UpdateShaderValue(TwistAmountProperty);

            PixelShader shader = new PixelShader();

            shader.UriSource = TransitionUtilities.MakePackUri("Shaders/SmoothSwirlGrid.fx.ps");
            this.PixelShader = shader;
        }
Example #8
0
        /// <summary>
        /// Initializes a new instance of the SlideInTransitionEffect class.
        /// </summary>
        public SlideInTransitionEffect()
        {
            PixelShader shader = new PixelShader();

            shader.UriSource = TransitionUtilities.MakePackUri("Shaders/SlideIn.fx.ps");
            this.PixelShader = shader;

            this.UpdateShaderValue(SlideAmountProperty);
        }
Example #9
0
        /// <summary>
        /// Initializes a new instance of the SwirlTransitionEffect class.
        /// </summary>
        public SwirlTransitionEffect()
        {
            UpdateShaderValue(TwistAmountProperty);

            PixelShader shader = new PixelShader();

            shader.UriSource = TransitionUtilities.MakePackUri("Shaders/Swirl.fx.ps");
            PixelShader      = shader;
        }
Example #10
0
        /// <summary>
        /// Initializes a new instance of the RippleTransitionEffect class.
        /// </summary>
        public RippleTransitionEffect()
        {
            this.UpdateShaderValue(FrequencyProperty);

            PixelShader shader = new PixelShader();

            shader.UriSource = TransitionUtilities.MakePackUri("Shaders/Ripple.fx.ps");
            this.PixelShader = shader;
        }
Example #11
0
        /// <summary>
        /// Initializes a new instance of the DissolveTransitionEffect class.
        /// </summary>
        public DissolveTransitionEffect()
        {
            PixelShader shader = new PixelShader();

            shader.UriSource = TransitionUtilities.MakePackUri("Shaders/Disolve.fx.ps");
            this.PixelShader = shader;

            this.NoiseImage = new ImageBrush(new BitmapImage(TransitionUtilities.MakePackUri("Images/noise.png")));
            this.UpdateShaderValue(NoiseImageProperty);
        }
Example #12
0
        /// <summary>
        /// Initializes a new instance of the LineRevealTransitionEffect class.
        /// </summary>
        public LineRevealTransitionEffect()
        {
            UpdateShaderValue(LineOriginProperty);
            UpdateShaderValue(LineNormalProperty);
            UpdateShaderValue(LineOffsetProperty);
            UpdateShaderValue(FuzzyAmountProperty);

            PixelShader shader = new PixelShader();

            shader.UriSource = TransitionUtilities.MakePackUri("Shaders/LineReveal.fx.ps");
            PixelShader      = shader;
        }
Example #13
0
 /// <summary>
 /// Initializes a new instance of the CloudyTransitionEffect class.
 /// </summary>
 protected CloudyTransitionEffect()
 {
     this.CloudImage = new ImageBrush(new BitmapImage(TransitionUtilities.MakePackUri("Images/clouds.png")));
     this.UpdateShaderValue(CloudImageProperty);
 }