Version: 2020.1
언어: 한국어

TerrainData.SetTreeInstances

매뉴얼로 전환
public void SetTreeInstances (TreeInstance[] instances, bool snapToHeightmap);

파라미터

instances The array of TreeInstance objects.
snapToHeightmap Specifies whether to snap Trees to the Terrain heightmap.

설명

Sets the Tree Instance array, and optionally snaps Trees onto the surface of the Terrain heightmap.

See Also: treeInstances.