Documentation / Node reference / code nodes
code/SDFEllipse2D
Returns the distance to a 2D ellipse.
Sdf2d
Returns the distance to a filled ellipse in the XY plane.
Parameters
| Name | Type | What it does |
|---|---|---|
| P | Vector2 | Position to measure from. Unwired, it uses the sample position. |
| t | Vector2 | Ellipse center. |
| ab | Vector2 | Radius along X and along Y. |
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.