Trapezoid Transform
Transforms
Stretches or narrows the top and bottom of a texture.
Inputs
input
Parameters
| Parameter | Type | Default | Range | Description |
|---|---|---|---|---|
top_stretchTop Stretch | float | 0 | -1 to 1 | Narrows the top for positive values and widens it for negative values. Zero preserves its width. |
bottom_stretchBottom Stretch | float | 0 | -1 to 1 | Narrows the bottom for positive values and widens it for negative values. Zero preserves its width. |
addressingAddressing | enum | repeat | 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)