PositionKeyframe Element
Defines a position keyframe for an animation.
Syntax
<PositionKeyframe
Interpolation="Interpolation element"
RelativeTo="{Absolute | Current | Final}"
Time="float"
Value="Vector3"
/>
Attributes
Interpolation
Specifies the Interpolation from this keyframe to the next. Use the inline construction for this element.
RelativeTo
A member of the KeyframeValueReference enumeration that specifies how to interpret the keyframe's value.
Time
Specifies the time, in seconds, at which this keyframe occurs.
Value
A Vector3 obect that specifies the keyframe value.
Remarks
Animations require at least two keyframes of the same type (for example, two AlphaKeyFrames). With only one keyframe, there is no beginning or end and therefore nothing to animate. In addition, the first keyframe must start at Time="0"
.
Requirements
Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later
See Also