Create Shape Mask On Path
节点功能:用于在指定路径上创建形状掩码。该节点可以根据提供的坐标路径,在每个坐标点位置生成指定形状的掩码图像。Create Shape Mask On
节点中英文对比
Create Shape Mask On Path
shape
frame_width
frame_height
shape_width
shape_height
Create Shape Mask On Path
shape
frame_width
frame_height
shape_width
shape_height
Create Shape Mask On Path - 参数说明
输入参数
coordinates
控制点列表(JSON 字符串格式),定义每帧中心位置。必须外部输入。
size_multiplier
每帧形状尺寸变化因子(可选),数组长度应等于帧数。
输出参数
mask
每帧生成的形状遮罩,值域为 [0.0, 1.0]。
mask_inverted
对 mask 的反转掩码,适用于相反区域控制场景。
控件参数
shape
绘制的形状类型,可选值包括 'circle'、'square'、'triangle'。
frame_width
每帧输出掩码图像的宽度。
frame_height
每帧输出掩码图像的高度。
shape_width
每个形状的初始宽度(像素单位)。
shape_height
每个形状的初始高度(像素单位)。
暂无节点说明