[This is preliminary documentation and is subject to change.]

Rez a Linden tree

Namespace:  OpenMetaverse
Assembly:  OpenMetaverse (in OpenMetaverse.dll) Version: 1.0.0.20057

Syntax

         
 C#  Visual Basic  Visual C++ 
public void AddTree(
	Simulator simulator,
	Vector3 scale,
	Quaternion rotation,
	Vector3 position,
	Tree treeType,
	UUID groupOwner,
	bool newTree
)
Public Sub AddTree ( _
	simulator As Simulator, _
	scale As Vector3, _
	rotation As Quaternion, _
	position As Vector3, _
	treeType As Tree, _
	groupOwner As UUID, _
	newTree As Boolean _
)
public:
void AddTree(
	Simulator^ simulator, 
	Vector3 scale, 
	Quaternion rotation, 
	Vector3 position, 
	Tree treeType, 
	UUID groupOwner, 
	bool newTree
)

Parameters

simulator
Simulator
A reference to the object where the object resides
scale
Vector3
The size of the tree
rotation
Quaternion
The rotation of the tree
position
Vector3
The position of the tree
treeType
Tree
The Type of tree
groupOwner
UUID
The of the group to set the tree to, or UUID.Zero if no group is to be set
newTree
Boolean
true to use the "new" Linden trees, false to use the old

See Also