sphere.procNode
- .metadata80 B
- README.md547 B
- init.luau649 B
- sphere.module
This package holds more than this page lists. See all of its files in its world.
README.md
shape.sphere
A UV sphere.
In a scene: SphereGeometry(radius, widthSegments, heightSegments).
| Input | Default | Meaning |
|---|---|---|
radius | 1 | Its radius. |
widthSegments | 32 | Segments around its equator. |
heightSegments | 16 | Segments from pole to pole. |
The node answers geometry: a mesh with positions, normals and uvs. Its body is a call into the module in its own folder, so a graph of many parts cooks without a device dispatch per shape.
SphereGeometry(0.5, 32, 16):taper(0.4)