ClockState ClockState ClockState ClockState Enum

定義

描述時間表之 Clock 物件的可能狀態。Describes the potential states of a timeline's Clock object.

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

欄位

Active Active Active Active 0

目前 Clock 時間的變更,與其父項目的時間直接相關。The current Clock time changes in direct relation to that of its parent. 如果時間表是動畫,則會主動影響目標屬性,所以其值可能會隨著刻度 (時間的取樣點) 而變更。If the timeline is an animation, it is actively affecting targeted properties, so their value may change from tick (a sampling point in time) to tick. 如果時間表具有子項目,可以是 ActiveFillingStoppedIf the timeline has children, they may be Active, Filling, or Stopped.

Filling Filling Filling Filling 1

Clock 計時會繼續,但不會因其父項目的時間而變更。The Clock timing continues, but does not change in relation to that of its parent. 如果時間表是動畫,則會主動影響目標屬性,但其值不會隨著刻度而變更。If the timeline is an animation, it is actively affecting targeted properties, but its values don't change from tick to tick. 如果時間表具有子項目,可以是 ActiveFillingStoppedIf the timeline has children, they may be Active, Filling, or Stopped.

Stopped Stopped Stopped Stopped 2

Clock 計時會停止,並且不會定義時鐘的目前時間和累進值。The Clock timing is halted, making the clock's current time and progress values undefined. 如果這個時間表是動畫,則不會再影響目標屬性。If this timeline is an animation, it no longer affects targeted properties. 如果這個時間表具有子項目,也會是 StoppedIf this timeline has children, they are also Stopped.

備註

請注意ClockState , 不會指出時鐘是否已暫停, 或時間的流動方向。Note that ClockState does not indicate whether a clock is paused or the direction in which time is flowing.

這些說明會依賴刻度的概念;如需詳細說明, 請參閱動畫和計時系統總覽These explanations rely on the concept of ticks; for a detailed explanation see the Animation and Timing System Overview.

適用於

另請參閱