Documentation / Node reference / code nodes
code/SDFMirror
Mirrors a position, to mirror the shape that reads it.
Sdf3d
Folds a position across the chosen planes through center, so a shape that reads it comes out mirrored. The positive side is copied onto the negative side. Use it inside a geo/SDFBuilder.
Parameters
| Name | Type | What it does |
|---|---|---|
| mirrorX | Bool | Mirror across the plane x = center.x. |
| mirrorY | Bool | Mirror across the plane y = center.y. |
| mirrorZ | Bool | Mirror across the plane z = center.z. |
| P | Vector3 | Position to mirror. Defaults to the sample position. |
| center | Vector3 | The point the planes pass through. |
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.