Documentation / Node reference / tex nodes
tex/Crop
Keeps a rectangle of the image and drops the rest.
Transform
Keeps the part of the image between min and max, measured from its top left corner. Nothing is stretched. Corners outside the image move to its edge.
Parameters
| Name | Type | What it does |
|---|---|---|
| units | UInt8 FRACTION · PIXELS | What min and max are measured in. |
| min | Vector2 | Top left corner of the rectangle to keep. |
| max | Vector2 | Bottom right corner of the rectangle to keep. |
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.