Compartir a través de


IXRPointKeyFrame (Compact 2013)

3/28/2014

This class defines an animation segment that has its own target x-y point values and interpolation method for an IXRPointAnimationUsingKeyFrames animation.

Syntax

class IXRPointKeyFrame : public IXRDependencyObject

Inheritance Hierarchy

IXRDependencyObject

    IXRPointKeyFrame

        IXRDiscretePointKeyFrame

        IXRLinearPointKeyFrame

        IXRSplinePointKeyFrame

Methods

Method

Description

IXRPointKeyFrame::GetKeyTime

Retrieves the time at which the target x-y point values for this key frame are reached.

IXRPointKeyFrame::GetValue

Retrieves the target x-y point values for this key frame.

IXRPointKeyFrame::SetKeyTime

Sets the time at which the target x-y point values for this key frame are reached.

IXRPointKeyFrame::SetValue

Sets the target x-y point values 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

IXRPointKeyFrame is a class that defines key frames by using x-y point values for three techniques of key frame animation: IXRDiscretePointKeyFrame, IXRLinearPointKeyFrame, and IXRSplinePointKeyFrame.

To animate an x-y point by using key frames, you can define an IXRPointAnimationUsingKeyFrames animation and populate its key-frames collection with one or more objects that define the key frames, such as IXRDiscretePointKeyFrame, IXRLinearPointKeyFrame, or IXRSplinePointKeyFrame

When you create a class instance, use an IXRPointKeyFramePtr smart pointer instead of a raw interface pointer. For more information, see XRPtr<Interface>.

.NET Framework Equivalent

System.Windows.Media.Animation.PointKeyFrame

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

Classes for Animation Storyboards
Classes for Visual Appearance