Partager via


IXRDoubleKeyFrame::GetKeyTime (Compact 2013)

3/28/2014

This method retrieves the time at which the target float value for this key frame is reached.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetKeyTime(
    XRKeyTime* pKeyTime
) = 0;

Parameters

  • pKeyTime
    [out] Pointer to an XRKeyTime structure that describes the time at which the current value of the key frame is equal to the target value.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

The key-time specifies when this key frame ends. It does not specify how long the key frame plays. The length of time that a key frame plays is determined by when the key frame ends, when the previous key frame ended, and the animation's duration.

.NET Framework Equivalent

System.Windows.Media.Animation.DoubleKeyFrame.KeyTime

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRDoubleKeyFrame
IXRDoubleKeyFrame::SetKeyTime