时间曲线节点#
![时间曲线节点。](../../../../_images/compositing_node-types_CompositorNodeTime.webp)
The Time Curve node generates a factor value (from 0.0 to 1.0) between the scene start and end time, using a curve mapping.
输入#
该节点没有输入项。
属性#
- 曲线
Y向值定义了曲线的输出值情况。曲线控制参看:曲线部件。
Tip
沿着时间输入反转曲线,可以轻易的变更节点的设置。
- 起始、结束
时间范围的开始帧和结束帧指定输出的持续时间。由表格中的X轴和Y轴表示。时间输入反转效果可以在开始帧输入一个比结束帧数值大的参数来实现。
输出#
- 系数
曲线在当前帧的Y值。
Hint
The Map Value node can be used to map the output to a more appropriate value. With some curves, it is possible that the Time Curve node may output a number larger than one or less than zero. To be safe, use the Min/Max clamping function of the Map Value node to limit output.
例子#
![../../../../_images/compositing_types_input_time_curve_example.png](../../../../_images/compositing_types_input_time_curve_example.png)
如图所示,时间控制从左到由右依次为:无特效、减慢、冻结、加速、反转。#