Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Terrain.AddTreeInstance

Switch to Manual
AddTreeInstance(instance: TreeInstance): void;
void AddTreeInstance(TreeInstance instance);
def AddTreeInstance(instance as TreeInstance) as void

Description

Adds a tree instance to the terrain.