跳到內容

Frame

使用和操作時間來驅動其他屬性。

Common Attributes +

Value - 設定時間的乘數。

Interpolation Mode - 確定值的輸出方式:

  • Frame - 輸出當前 frame∗Value。
  • Seconds - 每秒增加值(取決於 Composition 的 Frame Rate)。

Cycle Length - 當 Interpolation Mode 設定為 Seconds 時,設定增加值所需的秒數。

Graph - 當 Interpolation Mode 設定為 Seconds 時,調整值在一秒內的內插方式。參見 Graph Attribute

Offset - 以幀為單位偏移時間。

Start Frame - 設定時間開始的幀。

Time - 到 Composition 時間的自動連接。

  1. 建立一個 Basic Line
  2. 將其 Pivot.X 設定為 100
  3. 按右鍵按一下 Basic Line 的 Rotation 屬性,選擇 Add Behaviour > Frame
  4. 設定 Frame Behaviour 的:
    • Interpolation ModeSeconds
    • 開啟 Graph,將左側點的 Position 設定為 0.95
    • Value 設定為 -6(時鐘的秒針每秒旋轉 6°)。
  5. 按 Play。

這將建立一個時鐘秒針的效果。