Edit

Share via


CrossFadeEffect Class

Definition

A blend effect that merges the current builder with an input one

[Windows.UI.Xaml.Markup.ContentProperty(Name="Effects")]
public sealed class CrossFadeEffect : Microsoft.Toolkit.Uwp.UI.Media.Effects.IPipelineEffect
[<Windows.UI.Xaml.Markup.ContentProperty(Name="Effects")>]
type CrossFadeEffect = class
    interface IPipelineEffect
Public NotInheritable Class CrossFadeEffect
Implements IPipelineEffect
Inheritance
CrossFadeEffect
Attributes
Windows.UI.Xaml.Markup.ContentPropertyAttribute
Implements

Remarks

This effect maps to the Win2D Microsoft.Graphics.Canvas.Effects.CrossFadeEffect effect

Constructors

CrossFadeEffect()

Properties

Effects

Gets or sets the effects to apply to the input to merge with the current instance

Factor

Gets or sets the The cross fade factor to blend the input effects (default to 0.5, should be in the [0, 1] range)

Source

Gets or sets the input to merge with the current instance (defaults to a BackdropSourceExtension with Windows.UI.Xaml.Media.AcrylicBackgroundSource.Backdrop source).

Methods

AppendToPipeline(PipelineBuilder)

Appends the current effect to the input PipelineBuilder instance.

Applies to