OpenMetaverse Protocol Library Developers API Documentation
AddTree Method (simulator, scale, rotation, position, treeType, groupOwner, newTree)
NamespacesOpenMetaverseObjectManagerAddTree(Simulator, Vector3, Quaternion, Vector3, Tree, UUID, Boolean)
Rez a Linden tree
Declaration Syntax
C#
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

Assembly: OpenMetaverse(Module: OpenMetaverse.dll) Version: 0.9.3.3318 (0.9.3.3318)