public void SetTreeInstances (TreeInstance[] instances, bool snapToHeightmap);

Parámetros

instancesThe array of TreeInstance objects.
snapToHeightmapSpecifies whether to snap Trees to the Terrain heightmap.

Descripción

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

See Also: treeInstances.