Mesh X


Mesh extensions for unity

MeshX is a library for creating procedural meshes as simple as possible, for example:


This line will create a unit cube, create a MeshFilter, and apply the cube to it, create a MeshRenderer and apply a default unity material to it, all in just one short line.



will do the same thing, but to a new, child GameObject.

To start using MeshX, you just need to add: using MeshXtensions;

It also includes methods to create Cubes, Spheres, Cylinders, etc.

Some additional features:

  • It includes a fractional UV solver that will snap to the closest tile in cubic meshes