IXRColorKeyFrame::SetKeyTime (Compact 2013)
3/28/2014
This method sets the time at which the target color 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 new time at which the current value of this 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.ColorKeyFrame.KeyTime
Requirements
Header |
XamlRuntime.h |
sysgen |
SYSGEN_XAML_RUNTIME |