MeshBuilder
GPU GpuBuilds common procedural meshes with integrated material settings.
MeshBuilder is a compact geometry source for quickly generating boxes, spheres, cylinders, cones, toruses, and planes without leaving the graph.
Parameters
| Name | Type | Description |
|---|---|---|
| primitive | int | Primitive type to generate. |
| size_x | float | Size along the X axis. |
| size_y | float | — |
| size_z | float | — |
| segments | int | Tessellation level for supported primitives. |
| inner_radius | float | Inner radius used by torus-like shapes. |
| r | float | — |
| g | float | — |
| b | float | — |
| a | float | — |
| roughness | float | Surface roughness for the generated mesh. |
| metallic | float | — |