LanguageEnglish
  • C#

TreePrototype

class in UnityEngine

/

Implemented in:UnityEngine.TerrainModule

Description

Simple class that contains a pointer to a tree prototype.

This class is used by the TerrainData gameObject.

Properties

bendFactorBend factor of the tree prototype.
navMeshLodThe LOD index of a Tree LODGroup that Unity uses to generate a NavMesh. It uses this value only for Trees with a LODGroup, and ignores this value for regular Trees.
prefabRetrieves the actual GameObject used by the tree.

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