Select your preferred scripting language. All code snippets will be displayed in this language.
class in UnityEngine
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.
CloseA Splat prototype is just a texture that is used by the TerrainData.
Class on a Terrain GameObject.
metallic | The metallic value of the splat layer. |
normalMap | Normal map of the splat applied to the Terrain. |
smoothness | The smoothness value of the splat layer when the main texture has no alpha channel. |
texture | Texture of the splat applied to the Terrain. |
tileOffset | Offset of the tile texture of the SplatPrototype. |
tileSize | Size of the tile used in the texture of the SplatPrototype. |