Class SmoothSwirlGridTransitionEffect
Transition effect that swirls the current visual while introducing the new visual.
Inheritance
System.Object
SmoothSwirlGridTransitionEffect
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Microsoft.Expression.Media.Effects
Assembly: OpenSilver.Expression.Effects.dll
Syntax
public sealed class SmoothSwirlGridTransitionEffect : TransitionEffect
Constructors
| Improve this Doc View SourceSmoothSwirlGridTransitionEffect()
Creates an instance and updates the shader's variables to the default values.
Declaration
public SmoothSwirlGridTransitionEffect()
SmoothSwirlGridTransitionEffect(Double)
Creates an instance and sets the shader's twist variable to the specified values.
Declaration
public SmoothSwirlGridTransitionEffect(double twist)
Parameters
Type | Name | Description |
---|---|---|
System.Double | twist | Level of swirl twist. |
Fields
| Improve this Doc View SourceCellCountProperty
Dependency property that modifies the number of cells where pixels will be twisted.
Declaration
public static readonly DependencyProperty CellCountProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
TwistAmountProperty
Dependency property that modifies the TwistAmount variable within the pixel shader.
Declaration
public static readonly DependencyProperty TwistAmountProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceCellCount
Gets or sets the CellCount variable within the shader.
Declaration
public double CellCount { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
TwistAmount
Gets or sets the TwistAmount variable within the shader.
Declaration
public double TwistAmount { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
| Improve this Doc View SourceDeepCopy()
Makes a deep copy of the SmoothSwirlGridTransitionEffect effect.
Declaration
protected override TransitionEffect DeepCopy()
Returns
Type | Description |
---|---|
TransitionEffect | A clone of the current instance of the SmoothSwirlGridTransitionEffect effect. |