Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

Terrain.treeCrossFadeLength

public float treeCrossFadeLength;

Description

Total distance delta that trees will use to transition from billboard orientation to mesh orientation.

Decreasing this value makes the transition happen faster. Setting it to 0 will produce a visible pop when switching from mesh to billboard representation.

no example available in C#

Did you find this page useful? Please give it a rating: