Documentation / Node reference / geo nodes

geo/SDFBox2D

Creates a 2D SDF rectangle in the XY plane.

Sdf Primitives

Creates a rectangle as a 2D SDF field in the XY plane, the same plane the M2D nodes, SVG and flat text use. It displays as a distance-field visualization on its bounds: warm outside, cool inside, distance bands, and a white isoline on the shape itself. Compose it with other 2D SDF objects through geo/SDFBoolean and geo/SDFRepeat, then turn it into a 3D field with geo/SDFExtrude or geo/SDFRevolve, or into real geometry with geo/SDFTriangulate, which gives a 2D field its outline as segments or as a 2D manifold. 2D and 3D SDF objects cannot combine directly. The `t` and `size` params are in plane coordinates: x is world X, y is world Y.

Parameters

Name Type What it does
t Vector2 Rectangle center, in plane coordinates (x is world X, y is world Y).
size Vector2 Rectangle size per plane axis, multiplied by `scale`.
scale Float Uniform scale applied to `size`.

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.