Compartir a través de


IXREasingFunctionBase::Ease (Compact 2013)

3/28/2014

This method transforms normalized time to control the interpolation of an animation.

Syntax

virtual HRESULT STDMETHODCALLTYPE Ease(
    __in float NormalizedTime,
    __out float* pNormalizedTime
) = 0;

Parameters

  • NormalizedTime
    [in] Float value that represents the progress of the associated animation.
  • pNormalizedTime
    [out] Pointer to a float value that indicates the point in the timeline at which the animation should be, effectively speeding up or slowing down the timeline.

Return Value

Returns an HRESULT that indicates success or returns an error code.

Remarks

This method is overwritten by the easing function classes that inherit IXREasingFunctionBase to provide the logic that defines how the animation progresses.

.NET Framework Equivalent

System.Windows.Media.Animation.EasingFunctionBase.Ease

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXREasingFunctionBase
IXREasingFunctionBase::GetEasingMode
XREasingMode