This version of Unity is unsupported.

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.
prefabRetrieves the actual GameObject used by the tree.