Home
Manual
Reference
Scripting
Scripting Reference
Terrain
.AddTreeInstance
Menu
Overview
Runtime Classes
Attributes
Enumerations
Editor Classes
Attributes
Enumerations
History
Index
Terrain
All Members
Variables
basemapDistance
castShadows
detailObjectDensity
detailObjectDistance
editorRenderFlags
heightmapMaximumLOD
heightmapPixelError
lightmapIndex
materialTemplate
terrainData
treeBillboardDistance
treeCrossFadeLength
treeDistance
treeMaximumFullLODCount
Functions
AddTreeInstance
Flush
GetPosition
SampleHeight
SetNeighbors
Class Variables
activeTerrain
Class Functions
CreateTerrainGameObject
Inherited Variables
animation
audio
camera
collider
constantForce
enabled
guiText
guiTexture
hideFlags
hingeJoint
light
name
networkView
particleEmitter
particleSystem
renderer
rigidbody
tag
useGUILayout
Inherited Functions
BroadcastMessage
CancelInvoke
CompareTag
GetComponent
GetComponentInChildren
GetComponents
GetComponentsInChildren
GetInstanceID
Invoke
InvokeRepeating
IsInvoking
SendMessage
SendMessageUpwards
StartCoroutine
StopAllCoroutines
StopCoroutine
ToString
Inherited Class Functions
Destroy
DestroyImmediate
DontDestroyOnLoad
FindObjectOfType
FindObjectsOfType
Instantiate
operator !=
operator ==
operator bool
print
function
AddTreeInstance (instance :
TreeInstance
) :
void
Description
Adds a tree instance to the terrain.