Version: 2023.2
言語: 日本語
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.

Additional resources: treeInstances.