Builtin Library
- ..
- .metadata38 B
- README.md580 B
- flatShape.module
- init.luau728 B
README.md
shape.flatShape
A flat, filled 2D shape in the XY plane facing +Z, from path commands.
In a scene: ShapeGeometry(shape, curveSegments).
| Input | Default | Meaning |
|---|---|---|
shape | {} | The outline as path commands, as for extrude. |
curveSegments | 12 | Segments used for curved path commands. |
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.
ShapeGeometry(EllipseShape(0.5, 0.3))