Documentation / Node reference / geo nodes

geo/SDFHexagon2D

Creates a 2D SDF hexagon in the XY plane.

Sdf Primitives

Creates a regular hexagon as a 2D SDF field in the XY plane, with flat sides top and bottom and vertices left and right. 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. 2D and 3D SDF objects cannot combine directly. Plane coordinates are world X and world Y.

Parameters

Name Type What it does
t Vector2 Hexagon center, in plane coordinates.
r Float Apothem: from the center to the middle of a side. The vertices reach 2r/sqrt(3).

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.