Documentation / Node reference / code nodes
code/SDFEllipsoid
Returns the distance to an ellipsoid.
Sdf3d
Returns the distance to an ellipsoid: a sphere with its own radius per axis.
Parameters
| Name | Type | What it does |
|---|---|---|
| P | Vector3 | Position to measure from. Unwired, it uses the sample position. |
| t | Vector3 | Ellipsoid center. |
| r | Vector3 | Radius along X, Y and Z. |
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.