SetTreeInstances(TreeInstance[], bool)
Sets the Tree Instance array, and optionally snaps Trees onto the surface of the Terrain heightmap.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.TerrainModule
public void SetTreeInstances(TreeInstance[] instances, bool snapToHeightmap)
Parameters
Remarks
Additional Resources: TerrainData.treeInstances.