DetailPrototype Manual     Reference     Scripting  
Scripting > Runtime Classes > DetailPrototype
DetailPrototype

Detail prototype used by the Terrain GameObject.

This can be grass, or a flower..

Variables
prototype

GameObject used by the DetailPrototype.

prototypeTexture

Texture used by the DetailPrototype

minWidth

Minimum width 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).

maxHeight

Maximum height of the grass billboards (if render mode is GrassBillboard).

noiseSpread

How spread out is the noise for the DetailPrototype.

bendFactor

Bend factor of the detailPrototype.

healthyColor

Color when the DetailPrototypes are "healthy".

dryColor

Color when the DetailPrototypes are "dry".

renderMode

Render mode for the DetailPrototype.