Select your preferred scripting language. All code snippets will be displayed in this language.
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
CloseThe Terrain module implements Unity's Terrain rendering engine available through the Terrain component.
DetailPrototype | Detail prototype used by the Terrain GameObject. |
SplatPrototype | A Splat prototype is just a texture that is used by the TerrainData. |
Terrain | The Terrain component renders the terrain. |
TerrainData | The TerrainData class stores heightmaps, detail mesh positions, tree instances, and terrain texture alpha maps. |
TerrainExtensions | Extension methods to the Terrain class, used only for the UpdateGIMaterials method used by the Global Illumination System. |
Tree | Tree Component for the tree creator. |
TreePrototype | Simple class that contains a pointer to a tree prototype. |
TreeInstance | Contains information about a tree placed in the Terrain game object. |
DetailRenderMode | Render mode for detail prototypes. |
TerrainChangedFlags | Indicate the types of changes to the terrain in OnTerrainChanged callback. |
TerrainRenderFlags | Enum provding terrain rendering options. |