Builtin Library
- ..
- .metadata38 B
- README.md624 B
- init.luau801 B
- plane.module
README.md
shape.plane
A flat rectangle in the XY plane facing +Z, centred on the origin.
In a scene: PlaneGeometry(width, height, widthSegments, heightSegments).
| Input | Default | Meaning |
|---|---|---|
width | 1 | Its size along X. |
height | 1 | Its size along Y. |
widthSegments | 1 | Segments along X. |
heightSegments | 1 | Segments along Y. |
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.
PlaneGeometry(2, 2, 16, 16):bend(0.3)