OpenMetaverse Protocol Library Developers API Documentation
AddGrass Method (simulator, scale, rotation, position, grassType, groupOwner)
NamespacesOpenMetaverseObjectManagerAddGrass(Simulator, Vector3, Quaternion, Vector3, Grass, UUID)
Rez grass and ground cover
Declaration Syntax
C#
public 
void 
AddGrass(
        
Simulator 
simulator,
        
Vector3 
scale,
        
Quaternion 
rotation,
        
Vector3 
position,
        
Grass 
grassType,
        
UUID 
groupOwner
)
Parameters
simulator ( Simulator)
A reference to the object where the object resides
scale ( Vector3)
The size of the grass
rotation ( Quaternion)
The rotation of the grass
position ( Vector3)
The position of the grass
grassType ( Grass)
The type of grass from the enum
groupOwner ( UUID)
The of the group to set the tree to, or UUID.Zero if no group is to be set
See Also

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