# unity-mesh-builder **Repository Path**: ancientelement/unity-mesh-builder ## Basic Information - **Project Name**: unity-mesh-builder - **Description**: unity-mesh-builder - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-08-20 - **Last Updated**: 2023-08-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README unity-mesh-builder ===================== Primitive mesh builders for Unity. ![Demo](https://raw.githubusercontent.com/mattatz/unity-mesh-builder/master/Captures/Demo.png) ## Usage ```cs Mesh mesh = PlaneBuilder.Build( 5f, // width 10f, // height 2, // width segments 4 // height segments ); ``` ## Primitives - Plane (Parametric) - Cube - Cylinder - Sphere - Icosphere (Icohedron) - Octahedron - Frustum - Cone - Torus - Ring Another primitives are in progress ... ## Sources - three.js - https://threejs.org/ - ProceduralPrimitives - Unity Community Wiki - http://wiki.unity3d.com/index.php/ProceduralPrimitives - Viewports and Clipping - https://msdn.microsoft.com/en-us/library/windows/desktop/bb206341 - mattatz/Cone.cs - https://gist.github.com/mattatz/aba0d06fa56ef65e45e2