Version: 2022.3

TreePrototype

class in UnityEngine

切换到手册

描述

包含指向树原型的指针的简单类。

此类由 TerrainData GameObject 使用。

变量

bendFactor树原型的弯曲系数。
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.
prefab检索树使用的实际 GameObject。