Documentation / Node reference / geo nodes
geo/M2DMirror
Reflects a 2D shape across a line through the origin.
Manifold Operations
Mirrors each input cross section about the line through the origin whose NORMAL is `axis`. The default (0,1) has a normal pointing up, so the mirror line is the X axis and the shape flips top to bottom.
It REPLACES the shape with its reflection rather than adding one. For the symmetric pair, put a geo/M2DBoolean in union mode after it with the original on the other input.
The line always passes through the WORLD origin, and a shape a geo/Transform in OBJECT mode has placed is reflected where it stands, so putting a transform before this node is how you mirror about anything else. geo/M3DMirror is the 3D counterpart.
Parameters
| Name | Type | What it does |
|---|---|---|
| axis | Vector2 | The NORMAL of the mirror line, not the line itself, in world space. (0,1) mirrors across the X axis, (1,0) across the Y axis, and anything between across the line at right angles to it. The line always runs through the WORLD origin, so a shape a geo/Transform has moved is reflected where it stands. |
See also
- geo/M2DBoolean
- geo/M3DMirror
- geo/Transform
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.