Legacy Documentation: Version 4.6.2
Language: English
  • C#
  • JS
  • Boo

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

DetailPrototype

Namespace: UnityEngine

Suggest a change

Success!

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.

Close

Sumbission failed

For some reason your suggested change could not be submitted. Please try again in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Detail prototype used by the Terrain GameObject.

This can be grass, or a flower..

Variables

bendFactor Bend factor of the detailPrototype.
dryColor Color when the DetailPrototypes are "dry".
healthyColor Color when the DetailPrototypes are "healthy".
maxHeight Maximum height of the grass billboards (if render mode is GrassBillboard).
maxWidth Maximum width of the grass billboards (if render mode is GrassBillboard).
minHeight Minimum height of the grass billboards (if render mode is GrassBillboard).
minWidth Minimum width of the grass billboards (if render mode is GrassBillboard).
noiseSpread How spread out is the noise for the DetailPrototype.
prototype GameObject used by the DetailPrototype.
prototypeTexture Texture used by the DetailPrototype.
renderMode Render mode for the DetailPrototype.