OpenMetaverse Protocol Library Developers API Documentation
ObjectPropertiesEventArgs Class
NamespacesOpenMetaverseObjectPropertiesEventArgs
Provides additional primitive data for the ObjectPropertiesevent
Declaration Syntax
C#
public 
class 
ObjectPropertiesEventArgs : 
EventArgs
Members
All Members Constructors Properties



Icon Member Description
ObjectPropertiesEventArgs(Simulator, Primitive . . :: . . ObjectProperties)
Construct a new instance of the ObjectPropertiesEventArgs class

Properties
Get the primitive properties

Simulator
Get the simulator the object is located

Remarks

The ObjectPropertiesevent occurs when the simulator sends an ObjectPropertiesPacketcontaining additional details for a Primitive, Foliage data or Attachment data

The ObjectPropertiesevent is also raised when a SelectObject(Simulator, UInt32)request is made.

Examples
The following code example uses the Prim, Simulatorand Propertiesproperties to display new attachments and send a request for additional properties containing the name of the attachment then display it on the Consolewindow.
  Copy imageCopy
// Subscribe to the event that
provides additional primitive details
Client.Objects.ObjectProperties += Objects_ObjectProperties;

// handle the properties data that
arrives
private 
void
Objects_ObjectProperties(
object sender,
ObjectPropertiesEventArgs e)
{
    Console.WriteLine(
"Primitive Properties: {0} Name is
{1}", e.Properties.ObjectID, e.Properties.Name);
}
Inheritance Hierarchy
Object
EventArgs
  ObjectPropertiesEventArgs
    ObjectPropertiesUpdatedEventArgs

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