变换节点¶
此节点合并了其他三个节点的功能:缩放、移动 和 旋转 节点。
输入¶
- 图像
标准颜色输入。
- X、Y
用来在水平或垂直方向上移动输入图像。
- 角度
沿着图像中心对图像进行旋转。顺时针方向为正值,逆时针方向为负值。
- 缩放
从新定义图像尺寸。缩放比例是相对方式,也就是说数值0.5将尺寸缩放为原图像的一半大小,而数值2.0则将源图像缩放为原来的2倍大小。
属性¶
- 过滤
Determines how pixel values are interpolated when scaling or transforming images.
- 最近:
Uses the value of the closest pixel with no smoothing. This is the fastest method and is well-suited for pixel art or low-resolution images where sharp, blocky edges are desirable. In animations, motion appears in single-pixel steps, which can cause visible jittering.
- 双线性:
Averages the values of surrounding pixels to create a smoother result than Nearest. Provides a good balance between performance and visual quality.
- 双立方:
Computes a weighted average of a larger neighborhood of pixels for even smoother results. Ideal for photographic images or gradients where preserving fine detail is important.
输出¶
- 图像
标准颜色输出。