KeyTimeType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the different types that may represent a KeyTime instance.
public enum class KeyTimeType
public enum KeyTimeType
type KeyTimeType =
Public Enum KeyTimeType
- Inheritance
Fields
Name | Value | Description |
---|---|---|
Uniform | 0 | Specifies that the allotted total time for an animation sequence is divided evenly amongst each of the key frames. |
Percent | 1 | Specifies that each KeyTime value is expressed as a percentage of the total time allotted for a given animation sequence. |
TimeSpan | 2 | Specifies that each KeyTime is expressed as a TimeSpan value relative to the BeginTime of an animation sequence. |
Paced | 3 | Specifies that adjacent KeyFrames are each allotted a slice of time proportional to their length, respectively. The overall goal is to produce a length value that keeps the pace of the animation sequence constant. |
Remarks
Each key frame's KeyTime specifies when that key frame ends. It does not specify how long the key time plays. The amount of time a key frame plays is determined by when the key frame ends, when the previous key frame ended, and the animation's duration. See Key-Frame Animations Overview for more information.