转场:affine
- 目录
插件信息
title: 变换
media types:
Video
description:
version: 9
creator: Charles Yates
contributor: Dan Dennedy
copyright: Meltytech, LLC
license: LGPLv2.1
参数
distort
title: 忽略宽高比
description:
决定在缩放以完全填满矩形时是否扭曲图像的宽高比。
type: boolean
readonly: no
required: no
default: 0
widget: checkbox
fill
title: 填充矩形
description:
决定图像是否放大以填满矩形。否则,如果 B 帧图像能够容纳在矩形之内,则不做缩放。若为 0,且 B 帧图像超出矩形,则将其缩小以适配矩形。
type: boolean
readonly: no
required: no
default: 1
widget: checkbox
repeat_off
title: 禁用循环
description:
在使用关键帧动画化属性时,是否在动画到达最后一个关键帧后重复播放。
type: boolean
readonly: no
required: no
default: 0
widget: checkbox
mirror_off
title: 禁用乒乓
description:
在使用关键帧动画化属性且 repeat_off=0 时,每次重复播放是否在倒放与正放之间交替。
type: boolean
readonly: no
required: no
default: 0
widget: checkbox
cycle
title: 周期
description:
解释关键帧用于动画时所使用的时间长度。若为 0(默认值),则使用转场时长。若在 (0, 1) 范围内,表示转场时长的百分比;否则表示帧数。
type: float
readonly: no
required: no
default: 0
keyed
title: 关键帧驱动
description:
rotate、shear 和 offset 是否使用关键帧。
type: boolean
readonly: no
required: no
default: 0
widget: checkbox
ox
title: 水平偏移
type: float
readonly: no
required: no
animation: yes
minimum: 0
default: 0
unit: pixels
oy
title: 垂直偏移
type: float
readonly: no
required: no
animation: yes
minimum: 0
default: 0
unit: pixels
rotate_x
title: 绕 X 轴旋转
description:
动画化绕 X 轴的旋转。若 keyed=0,表示每帧的旋转量。
type: float
readonly: no
required: no
default: 0
unit: degrees
rotate_y
title: 绕 Y 轴旋转
description:
动画化绕 Y 轴的旋转。若 keyed=0,表示每帧的旋转量。
type: float
readonly: no
required: no
default: 0
unit: degrees
rotate_z
title: 绕 Z 轴旋转
description:
动画化绕 Z 轴的旋转。若 keyed=0,表示每帧的旋转量。
type: float
readonly: no
required: no
default: 0
unit: degrees
fix_rotate_x
title: X 轴旋转
description:
绕 X 轴的固定旋转量。
type: float
readonly: no
required: no
animation: yes
default: 0
unit: degrees
fix_rotate_y
title: Y 轴旋转
description:
绕 Y 轴的固定旋转量。
type: float
readonly: no
required: no
animation: yes
default: 0
unit: degrees
fix_rotate_z
title: Z 轴旋转
description:
绕 Z 轴的固定旋转量。
type: float
readonly: no
required: no
animation: yes
default: 0
unit: degrees
shear_x
title: 沿 X 轴错切
description:
动画化沿 X 轴的错切。若 keyed=0,表示每帧的错切角增量。
type: float
readonly: no
required: no
default: 0
unit: degrees
shear_y
title: 沿 Y 轴错切
description:
动画化沿 Y 轴的错切。若 keyed=0,表示每帧的错切角增量。
type: float
readonly: no
required: no
default: 0
unit: degrees
shear_z
title: 沿 Z 轴错切
description:
动画化沿 Z 轴的错切。若 keyed=0,表示每帧的错切角增量。
type: float
readonly: no
required: no
default: 0
unit: degrees
fix_shear_x
title: X 轴错切
description:
沿 X 轴的固定错切量。
type: float
readonly: no
required: no
animation: yes
default: 0
unit: degrees
fix_shear_y
title: Y 轴错切
description:
沿 Y 轴的固定错切量。
type: float
readonly: no
required: no
animation: yes
default: 0
unit: degrees
fix_shear_z
title: Z 轴错切
description:
沿 Z 轴的固定错切量。
type: float
readonly: no
required: no
animation: yes
default: 0
unit: degrees
mirror
title: 乒乓
description:
在使用关键帧动画化属性时,动画在转场时长内是否表现为乒乓效果。它会在转场的前半段正向运行,在后半段反向运行。
type: boolean
readonly: no
required: no
scale
title: 缩放
description:
是否自动放大 B 帧图像以确保矩形被填满。
type: boolean
readonly: no
required: no
default: 0
widget: checkbox
scale_x
title: 水平缩放
description:
沿 X 轴应用的缩放因子。
type: float
readonly: no
required: no
animation: yes
default: 0
scale_y
title: 垂直缩放
description:
沿 Y 轴应用的缩放因子。
type: float
readonly: no
required: no
animation: yes
default: 0
invert_scale
title: 反转缩放
description:
是否对 scale_x 和 scale_y 取反。这有助于让动画插值符合直觉,否则缩放值不会线性动画。
type: boolean
readonly: no
required: no
default: 0
widget: checkbox
b_alpha
title: 影响 alpha 通道
description:
在输出的变换中是否使用 B 帧的 alpha 通道。affine 滤镜默认将其设为 1。基本上,这告诉混合函数使用 Porter-Duff 的 atop 模式而不是默认的 over。
type: boolean
readonly: no
required: no
default: 0
halign
title: 水平对齐
description:
设置在矩形内的水平对齐方式。
type: string
readonly: no
required: no
default: left
widget: combo
values:
- left
- center
- right
valign
title: 垂直对齐
description:
设置在矩形内的垂直对齐方式。
type: string
readonly: no
required: no
default: top
widget: combo
values:
- top
- middle
- bottom
threads
title: 线程数
description:
使用 0 表示使用切片(slice)数,切片数默认为检测到的 CPU 数量。否则,设置要使用的线程数,最多可达切片数。
type:
readonly: no
required: no
minimum: 0
default: 0
rect
title: 矩形
description:
此项指定图像的大小和位置。其格式为 "X/Y:WxH[:opacity]",并可以用关键帧做动画。如果使用百分比,则上述格式中的每个字段都必须使用百分比。例如,不能对大小和 opacity 混用绝对坐标和百分比。
type: rect
readonly: no
required: no
animation: yes
default: 0%/0%:100%x100%:100%
b_scaled
title: 不使用 B 帧的全分辨率
type: boolean
readonly: no
required: no
default: 0