ドキュメント

Unity Engine

Unity Engine

GetTreeInstance(int)

Gets the tree instance at the specified index. It is used as a faster version of TerrainData.treeInstances [index] as this function doesn't create the entire tree instances array.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.TerrainModule
public TreeInstance GetTreeInstance(int index)

Parameters

index

The index of the tree instance.

Returns

Type

Description

TreeInstance