Compartir a través de


IXRPointKeyFrame::SetKeyTime (Compact 2013)

3/28/2014

This method sets the time at which the target x-y point values for this key frame are 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 values of this key frame are equal to the target values.

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.PointKeyFrame.KeyTime

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRPointKeyFrame
IXRPointKeyFrame::GetKeyTime