Skip to main contentModule geometry
Source - Mesh
- MeshBuilder
- Vertex
- cone
- Cone: apex at +Y, base at −Y, with given radius, height, and radial segments.
- cube
- Axis-aligned unit cube (−0.5 to +0.5 on each axis), with correct per-face normals.
- cylinder
- Cylinder with top and bottom caps.
- icosphere
- Icosphere with given radius and subdivision level (0 = raw icosahedron, 20 triangles).
- plane
- Flat plane in the XZ plane, subdivided into a grid.
- pyramid
- Square pyramid: apex at +Y, base at −Y.
- sphere
- UV sphere with given radius, rings, and sectors.
- torus
- Torus centered at origin, with major radius R and tube radius r.