Create Shape Mask
节点功能:用于创建基本几何形状的蒙版。它可以生成圆形、方形或三角形的蒙版,并支持创建动画蒙版序列。Create Shape
节点中英文对比
Create Shape Mask
shape
frames
location_x
location_y
grow
frame_width
frame_height
shape_width
shape_height
Create Shape Mask
shape
frames
location_x
location_y
grow
frame_width
frame_height
shape_width
shape_height
Create Shape Mask - 参数说明
输出参数
mask
正常图形区域的掩码,白色区域表示选中部分。
mask_inverted
反转后的掩码,背景为白,图形为黑。
控件参数
shape
要绘制的形状,可选 'circle', 'square', 'triangle'。
frames
批次生成的帧数,控制输出的 mask 数量。
location_x
形状中心点的 X 坐标。
location_y
形状中心点的 Y 坐标。
grow
每帧增长/缩小的像素值(支持负值缩小)。
frame_width
输出图像的宽度。
frame_height
输出图像的高度。
shape_width
初始图形的宽度。
shape_height
初始图形的高度。
暂无节点说明