KeyTimeType 列舉

定義

表示可能代表 KeyTime 執行個體的不同型別。Represents the different types that may represent a KeyTime instance.

public enum class KeyTimeType
public enum KeyTimeType
type KeyTimeType = 
Public Enum KeyTimeType
繼承
KeyTimeType

欄位

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.

Percent 1

指定每個 KeyTime 值以針對給定動畫序列指定的總時間百分比表示。Specifies that each KeyTime value is expressed as a percentage of the total time allotted for a given animation sequence.

TimeSpan 2

指定每個 KeyTime 以與動畫序列之 TimeSpan 相關的 BeginTime 值表示。Specifies that each KeyTime is expressed as a TimeSpan value relative to the BeginTime of an animation sequence.

Uniform 0

指定在動畫序列配置的總時間會在每個主要畫面格平均分配。Specifies that the allotted total time for an animation sequence is divided evenly amongst each of the key frames.

備註

每個主要畫面KeyTime格都會指定主要畫面格的結束時間。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.

適用於