Contains information about a tree placed in the Terrain game object.
This struct can be accessed from the TerrainData Object.
color | Цвет данного экземпляра |
heightScale | Height scale of this instance (compared to the prototype's size). |
lightmapColor | Lightmap color calculated for this instance. |
position | Позиция дерева |
prototypeIndex | Index of this instance in the TerrainData.treePrototypes array. |
rotation | Read-only.Rotation of the tree on X-Z plane (in radians). |
widthScale | Width scale of this instance (compared to the prototype's size). |