OpenMetaverse.ObjectManager.SetName C# (CSharp) Method

SetName() public method

Set the name of an object
public SetName ( Simulator simulator, uint localID, string name ) : void
simulator Simulator A reference to the object where the object resides
localID uint The objects ID which is local to the simulator the object is in
name string A string containing the new name of the object
return void
        public void SetName(Simulator simulator, uint localID, string name)
        {
            SetNames(simulator, new uint[] { localID }, new string[] { name });
        }