Roblox api terrain. 3d array of voxel occupancies number between 0 and 1. The components of the region3s minimum and maximum. If you want to go more in depth with this id recommend reading the roblox developer wikis procedural generator.
The id of the place. Can be later pasted into the terrain using pasteregion. Additionally the region3 must be aligned to the terrain materials grid ie.
Classes enums data types lua documents grouped. The following code will copy the whole terrain and clear it. Dimensions must exactly match the size of the target region in voxels.
The id of the asset. A terrainregion is a snapshot of terrain retrieved from the copyregion method. In may 2015 smooth terrain was introduced which later replaced the old style of terrain in 2017.
Replacematerial replaces terrain of a certain enummaterial within a datatyperegion3 with another material. It is currently based on a 444 grid of cells where each cell has a number between 0 and 1 representing how much the geometry should occupy the cell and the material of the cell. Items from 7 are increased even further.
Robloxs visual feature set is now more complete at this level. Create a deep copy of a roblox instance and descendants where archivable true. Essentially it is a find and replace operation on terrain materials.
The terrain object is a feature of roblox that integrates voxel based terrain alongside parts and was introduced in 2011. At varying values of the noise the material of the ground and altitude will be different. Originally it used a preset of meshes to render its terrain.
After 5 seconds it will paste the terrain back. I used five layers of perlin noise mathnoise which is a function in roblox studio.
Https Encrypted Tbn0 Gstatic Com Images Q Tbn 3aand9gcraooek2g6ho Olhbyd7hcivyiyjasopxv Bghxassxw7qn1bjs Usqp Cau
encrypted-tbn0.gstatic.com