Editor Window Settings
Last updated
Last updated
Terrain To Mesh editor window can be opened from the Main Toolbar → Window → Amazing Assets → Terrain To Mesh menu:
For converting terrains into a mesh, drag & drop them from Hierarchy or Project windows here. Even entire folders from the Project window can be dropped here and all terrain objects from those folders will be automatically added to the conversion list.
Note, Terrain To Mesh asset works with TerrainData class objects only, not Terrain.
After adding terrain to the conversion list, click on the Run button in the bottom of the window and based on the used settings it will be converted to a mesh, appropriate material will be generated for it with required textures and maps baked and all those assets will be saved in the chosen location, inside or outside of the project.
For each converted terrain is created its own prefab file with all exported meshes, materials, trees, grass and detail meshes setup to be rendered in the same way as the source terrain.
If source terrain is drag & dropped from the Hierarchy window, then after converting it to a mesh, its prefab is automatically instantiated in the scene, in the same location.
Each section of the editor window is explained in the sub-chapters below: