Share via


IXRDoubleKeyFrame::SetKeyTime (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

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

Parameters

  • pKeyTime
    [in] 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
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

IXRDoubleKeyFrame
IXRDoubleKeyFrame::GetKeyTime