decorative banner

Setting values for keyframes and duration


    Define segments by setting values for the keyframe and duration parameters according to the following descriptions of their function:

    Keyframes

    Sets the number of keyframe segments to loop. For the loop_in expression, the specified range is measured from the first keyframe. For example, loop_in("cycle", 1) loops the segment bounded by the first and second keyframes. For the loop_out expression, the specified range is measured backward from the last keyframe. For example, loop_out("cycle", 1) loops the segment bounded by the last keyframe and second-to-last keyframe. The default value of 0 means that all keyframes will loop.

    Duration

    Sets the number of composition seconds in a segment to loop. For the loop_in_duration expression, the specified range is measured from the first keyframe. For example, loop_in_duration("cycle", 1) loops the first second of the entire animation. For the loop_out expression, the specified range is measured backward from the last keyframe. For example, loop_out_duration("cycle", 1) loops the last second of the entire animation. The default of 0 means that, for the loop_in_duration expression, the segment to loop begins at the layer Out point; for the loop_out_duration expression, the segment to loop begins at the layer In point.

    Note: Keyframes or duration values that are too large are clipped to the maximum legal value. Values that are too small result in a constant loop.