Transform
Moves, rotates and scales the picture inside a texture, over a background if one is given.
Outputs
| Name | Type | Description |
|---|---|---|
| Output | Texture | The moved picture, over the background. |
Inputs
Parameters
| Name | Type | Description |
|---|---|---|
| Size | Enum | Where the size of the output comes from. Background takes it from the background, or from the input while no background is connected, Input from the input and Custom from Resolution.Choices: Background, Input, Custom |
| Resolution | Vector 2 Int | The width and height of the output in pixels. Only present when Size is Custom. |
| Transform | Transform 2D | How the picture is moved, turned and scaled, in pixels, with up as positive and angles counterclockwise. |
| Tiling X | Enum | What fills the space to the left and right of the picture. None leaves it transparent, Repeat repeats the picture, Mirror flips every other copy so the seams match and Clamp stretches the edge pixels.Choices: None, Repeat, Mirror, Clamp |
| Tiling Y | Enum | What fills the space above and below the picture, with the same choices as Tiling X.Choices: None, Repeat, Mirror, Clamp |
| Anchor | Enum | The point of the picture that lies on the same point of the output, and that the transform turns and scales around.Choices: Top Left, Top, Top Right, Left, Center, Right, Bottom Left, Bottom, Bottom Right |
| Filteradvanced | Enum | How the picture, and a stretched background, are read between their pixels. Nearest keeps hard pixels, and Linear Nice keeps edges next to transparency clean.Choices: Nearest, Linear Fast, Linear Nice |
| Formatadvanced | Enum | The pixel format of the output. Auto keeps the format of the input, or is wide enough for the input and the background when both are connected. |
The Transform operator pans, zooms and rotates the picture inside a texture, over a background if one is connected. To place a logo in the corner of a video, connect the video as the background and move the logo. The transform is built with a Transform 2D operator. Set Tiling to Repeat to turn any texture into an endlessly scrolling pattern.
The background is stretched over the whole output, so a background of other proportions is distorted. A Resize in front of it keeps its proportions.
Keywords: translate, rotate, scale, pan, zoom, tile, repeat, mirror, offset, layer, over, place