Frame
使用和操作时间来驱动其他属性。
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 时间的自动连接。
- 创建一个 Basic Line。
- 将其 Pivot.X 设置为 100。
- 右键单击 Basic Line 的 Rotation 属性,选择 Add Behaviour > Frame。
- 设置 Frame Behaviour 的:
- Interpolation Mode 为 Seconds。
- 打开 Graph,将左侧点的 Position 设置为 0.95。
- 将 Value 设置为 -6(时钟的秒针每秒旋转 6°)。
- 按 Play。
这将创建一个时钟秒针的效果。