将平面标记沿着时间轴滑动,从而更改剪辑的时间范围。
bpy.ops.clip.slide_plane_marker(
selected_plane_marker='FIRST',
direction='LEFT',
extend='NONE')
selected_plane_marker (enum in ['FIRST', 'LAST'], (optional)) – 选择一个平面标记作为操作的对象。默认为'FIRST'。
'FIRST':选择第一个平面标记'LAST':选择最后一个平面标记direction (enum in ['LEFT', 'RIGHT'], (optional)) – 平面标记通过滑动需调整的方向。默认为'LEFT'。
'LEFT':沿着时间轴向左滑动'RIGHT':沿着时间轴向右滑动extend (enum in ['NONE', 'BEFORE', 'AFTER'], (optional)) – 在拖动平面标记时是否要扩展剪辑范围。默认为'NONE'。
'NONE':不扩展'BEFORE':向前扩展剪辑范围'AFTER':向后扩展剪辑范围{'FINISHED'}RuntimeError – 如果没有剪辑区域被选中RuntimeError – 如果选择的平面标记不是一个有效的平面标记# Move the first plane marker of the clip to the right with clip extension
bpy.ops.clip.slide_plane_marker(selected_plane_marker='FIRST', direction='RIGHT', extend='AFTER')