Transform 2D
Transforms
General 2D transform with offset, scale, rotation, filtering, and configurable source addressing.
Inputs
input
Parameters
| Parameter | Type | Default | Range | Description |
|---|---|---|---|---|
offsetOffset | vec2 | [0, 0] | -1 to 1 | Translation offset from center in UV units. |
scaleScale | vec2 | [1, 1] | 0.01 to 8 | Output scale. Values below 1 shrink the input; above 1 enlarge it. |
rotationRotation | float | 0 | 0 to 1 | Rotation in turns. 0.25 = 90°, 0.5 = 180°, 1.0 = 360°. |
addressingAddressing | enum | background | How transformed source coordinates outside 0-1 are handled. Repeat wraps sampling, but does not guarantee a tiling-safe transform.
| |
background_colorBackground Color | color | [0, 0, 0, 1] | Color used when transformed coordinates fall outside the input. | |
filter_modeFilter | enum | bilinear | Texture filtering mode.
|
Outputs
output(default format:inherit)