跳转到内容

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。

这将创建一个时钟秒针的效果。