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


IXRPointAnimation::GetEasingFunction (Compact 2013)

3/28/2014

This method gets the easing function that is applied to this animation.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetEasingFunction(
    __out IXRDependencyObject** ppEasingFunction
) = 0;

Parameters

  • ppEasingFunction
    [out] Pointer to a pointer to an IXRDependencyObject object that represents the easing function that is applied to this animation.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

For a list of easing functions and a visual representation of how they affect the animation, see XREasingMode.

To use a specific interface pointer type, you can use the helper template version of this method that XAML for Windows Embedded provides. When you supply a derived type, this version automatically supplies a type-safe method that implicitly converts the returned type from a generic interface, so you do not have to explicitly call QueryInterface to convert the generic interface into the required object type.

.NET Framework Equivalent

System.Windows.Media.Animation.PointAnimation.EasingFunction

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRPointAnimation
IXREasingDoubleKeyFrame
IXRPointAnimation::GetBy
IXRPointAnimation::GetFrom
IXRPointAnimation::GetTo