Поделиться через


IXRBackEase::GetAmplitude (Compact 2013)

3/28/2014

This method retrieves the amplitude of retraction associated with an IXRBackEase animation.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetAmplitude(
    __out float* pAmplitude
) = 0;

Parameters

  • pAmplitude
    [out] Pointer to a float value that specifies the amplitude of retraction associated with an IXRBackEase animation. The default value is 1.

Return Value

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

Remarks

IXRBackEase produces a winding-up effect when used at the beginning of an animation, and a winding-down effect when used at the end of an animation. For example, if you create an animation that expands the height of a rectangle from 50 pixels to 100 pixels and apply the IXRBackEase easing function to the beginning of the animation, the rectangle will initially shrink below 50 pixels before expanding to 100. How much the rectangle shrinks depends upon the amplitude of retraction. The greater the amplitude value, the farther the animated value retracts.

.NET Framework Equivalent

System.Windows.Media.Animation.BackEase.Amplitude

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRBackEase