Class SwirlEffect
Effect that swirls the current visual.
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 SwirlEffect : ShaderEffect
Constructors
| Improve this Doc View SourceSwirlEffect()
Creates an instance and updates the shader's variables to the default values.
Declaration
public SwirlEffect()
Fields
| Improve this Doc View SourceAngleFrequencyProperty
This property is mapped to the AngleFrequency variable within the pixel shader.
Declaration
public static readonly DependencyProperty AngleFrequencyProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
CenterProperty
This property is mapped to the Center variable within the pixel shader.
Declaration
public static readonly DependencyProperty CenterProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
InputProperty
The explicit input for this pixel shader.
Declaration
public static readonly DependencyProperty InputProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
TwistAmountProperty
This property is mapped to the TwistAmount variable within the pixel shader.
Declaration
public static readonly DependencyProperty TwistAmountProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceCenter
Gets or sets the Center variable within the shader.
Declaration
public Point Center { get; set; }
Property Value
Type | Description |
---|---|
Point |
EffectMapping
Gets the GeneralTransform for this effect.
Declaration
protected override GeneralTransform EffectMapping { get; }
Property Value
Type | Description |
---|---|
GeneralTransform |
Overrides
| Improve this Doc View SourceTwistAmount
Gets or sets the TwistAmount variable within the shader.
Declaration
public double TwistAmount { get; set; }
Property Value
Type | Description |
---|---|
System.Double |