Documentation / Node reference / geo nodes
geo/SDFEquilateralTriangle2D
Creates a 2D SDF equilateral triangle in the XY plane.
Sdf Primitives
Creates an equilateral triangle as a 2D SDF field in the XY plane, pointing up. 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 | Triangle center, in plane coordinates. It is the incentre, not the bounding-box centre. |
| r | Float | Half width of the base. The base sits at -r/sqrt(3) and the apex at 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.