Version: 2017.1
Duplicando clips
Splitting clips

Trimming clips

Drag the start or end of a clip to trim its duration. Dragging the start or end of a clip automatically selects the clip, showing its properties in the Inspector window. Use the Clip Timing properties in the Inspector window to set the start, end, duration, and offset (Clip In) of a clip to exact values.

Position and trim a clip by adjusting its Start, End, Duration, and Clip In properties in the Inspector window
Position and trim a clip by adjusting its Start, End, Duration, and Clip In properties in the Inspector window

Trimming the start of a clip

When trimming the start of an Animation clip or Audio clip in the Clips view, the start cannot be dragged before the start of the source asset that the clip is based on. Trimming an Animation clip or Audio clip after the start of the source asset selects the section of the source asset used by the clip.

Trimming the start of an Animation clip selects the section of key animation used by the clip
Trimming the start of an Animation clip selects the section of key animation used by the clip

Trimming a clip is non-destructive. Trim the clip again to modify its start to include the animation, or the audio waveform, cut off during a previous trim. You can also reset a clip to undo trims or other edits.

To trim the start of a clip to a precise time or frame, use the Clip In property in the Inspector window. Changing the Clip In property has the same effect as trimming the start of a clip after the start of its source asset.

Trimming the end of a clip

As with the start of the clip, trimming an Animation clip or Audio clip before the end of the source asset, trims the part of the source asset used by the clip.

Trimming the end of an Animation clip trims its key animation
Trimming the end of an Animation clip trims its key animation

If you trim the end of an Animation clip or Audio clip past the end of the source asset the clip is based on, the extra clip area either holds or loops, depending on the settings of the source asset.

For example, an Animation clip named “End Move” uses the motion file “Recorded(2)” as its source asset. The motion file “Recorded(2)” is set to loop. Trimming the end of the Animation clip past the end of the “Recorded(2)” source asset fills the extra clip area by looping “Recorded(2)”. A white animation curve shows the hold or loop.

A white animation curve indicates whether the extra clip area holds or loops data, depending on the source asset
A white animation curve indicates whether the extra clip area holds or loops data, depending on the source asset

To choose whether the extra clip area holds or loops, select the source asset to change its settings in the Inspector window. Depending on the type of source asset, different properties control whether the source asset holds or loops.

If you are unsure which source asset is used by a clip, select the clip in the Clips view, Right-click and select Find Source Asset from the context menu. This highlights the source asset in the Project window.

Trimming the end of looping clips

The Timeline Editor window provides special trimming options for Animation clips or Audio clips with loops. These special trim options either remove the last partial loop or complete the last partial loop.

For example, the Animation clip named run_away is over three times longer than the source asset on which it is based. Since the source asset is set to loop, the Animation clip loops the source asset until the Animation clip ends which results in a partial loop.

L1, L2, and L3 signify complete loops. The clip ends partially through the fourth loop, L4.
L1, L2, and L3 signify complete loops. The clip ends partially through the fourth loop, L4.

To extend the end of the clip and complete a partial loop, select the clip, Right-click and select Editing > Complete Last Loop. To trim the clip at the last complete loop, select the clip, Right-clip and select Editing > Trim Last Loop.

The result of select Editing > Complete Last Loop
The result of select Editing > Complete Last Loop
The result of select Editing > Trim Last Loop
The result of select Editing > Trim Last Loop

Trimming with the Timeline Playhead

You can also trim a clip based on the location of the playhead. To trim using the playhead, position the playhead within the clip to be trimmed. Right-click the clip and select either Editing > Trim Start or Editing > Trim End. Trim Start trims the start of the clip to the playhead. Trim End trims the end of the clip to the playhead.

Move the Timeline Playhead within the clip
Move the Timeline Playhead within the clip
Right-click and select Editing > Trim Start to trim the start of the clip to the playhead
Right-click and select Editing > Trim Start to trim the start of the clip to the playhead

If you select clips on multiple tracks, only the selected clips that intersect the playhead are trimmed.


Duplicando clips
Splitting clips
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961