| FromToByAnimationTEasingFunction Property |
Gets or sets the easing function that controls the pace of the interpolation.
Namespace: DigitalRune.AnimationAssembly: DigitalRune.Animation (in DigitalRune.Animation.dll) Version: 1.4.0.0 (1.4.1.14427)
Syntax [ContentSerializerAttribute(SharedResource = true)]
public IEasingFunction EasingFunction { get; set; }
<ContentSerializerAttribute(SharedResource := true)>
Public Property EasingFunction As IEasingFunction
Get
Set
public:
[ContentSerializerAttribute(SharedResource = true)]
property IEasingFunction^ EasingFunction {
IEasingFunction^ get ();
void set (IEasingFunction^ value);
}
[<ContentSerializerAttribute(SharedResource = true)>]
member EasingFunction : IEasingFunction with get, set
Property Value
Type:
IEasingFunction
The easing function that controls the pace of the interpolation. The default value is
, which means that a linear interpolation is applied.
Remarks
An
IEasingFunction can be applied to control the pace of the interpolation.
For example, a
CubicEase can be used to start slow, but then accelerate
towards the target value. Special easing functions, such as the
BounceEase or
ElasticEase can be used to create special animation effects, such as bounces
or oscillations.
See Also