Documentation / Node reference / tex nodes
tex/Resize
Changes the size of the image.
Transform
Gives the image a new size, as a multiple of its own (scale) or in pixels (size). filter sets how the new pixels are made.
Parameters
| Name | Type | What it does |
|---|---|---|
| mode | UInt8 SCALE · SIZE | How the new size is given. |
| scale | Float | Multiplies the size. 0.5 halves it. |
| size | Vector2UInt | Width and height, in pixels. |
| keepAspect | Bool | Keep the proportions and fit inside size. |
| filter | UInt8 AREA · BILINEAR · NEAREST | How new pixels are made from the old ones. |
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.