IXRObjectKeyFrame (Compact 2013)
3/28/2014
This base class defines an animation segment that has its own target IXRDependencyObject value and uses the frame-transition method for an IXRObjectAnimationUsingKeyFrames object.
Syntax
class IXRObjectKeyFrame : public IXRDependencyObject
Inheritance Hierarchy
IXRObjectKeyFrame
Methods
Method |
Description |
---|---|
Retrieves the time at which the target value of this key frame is reached. |
|
Retrieves the target value for this key frame. |
|
Sets the time at which the target value of this key frame is reached. |
|
Sets the target value for this key frame. |
Thread Safety
Members of this class are thread-safe if you previously called IXRApplication::CreateHostFromXaml and supplied it with an XRWindowCreateParams structure that has AllowsMultipleThreadAccess set to true.
Remarks
IXRObjectKeyFrame, the base class for IXRDiscreteObjectKeyFrame, defines a target value type that is derived from IXRDependencyObject. To animate an object derived from IXRDependencyObject by using key frames, define an IXRObjectAnimationUsingKeyFrames animation, and then populate its IXRObjectKeyFrameCollection with multiple IXRDiscreteObjectKeyFrame objects that define the key frames.
When you create a class instance, use an IXRObjectKeyFramePtr smart pointer instead of a raw interface pointer. For more information, see XRPtr<Interface>.
.NET Framework Equivalent
System.Windows.Media.Animation.ObjectKeyFrame
Requirements
Header |
XamlRuntime.h |
sysgen |
SYSGEN_XAML_RUNTIME |
See Also
Reference
Classes for Animation Storyboards
Classes for Visual Appearance