Documentation / Node reference / tex nodes
tex/Transform
Moves, scales and turns the image inside its frame, or tiles it.
Transform
The result keeps the input's size. translate, scale and rotation move the image inside it, around pivot. borderMode fills what the image no longer covers: REPEAT and MIRROR tile it. A negative scale flips the image.
Parameters
| Name | Type | What it does |
|---|---|---|
| translate | Vector2 | Moves the image, in parts of its own size. |
| pivot | Vector2 | Point that scale and rotation keep still. |
| scale | Vector2 | Size across and down. Negative flips that axis. |
| rotation | Float | Turns the image around pivot, in degrees. |
| borderMode | UInt8 CLAMP · TRANSPARENT · REPEAT · MIRROR | What fills the frame where the image no longer reaches. |
| filter | UInt8 BILINEAR · NEAREST | How new pixels are read from the image. |
Examples
Scenes you can open in the editor that teach this node.
See also
This page is generated from the engine, so it describes the release you can download. The same text is in the editor's Help panel next to the node itself.