Provides additional primitive data for the
ObjectPropertiesevent

C# |
public class ObjectPropertiesEventArgs : EventArgs

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
|

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.

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.
![]() |
|
---|---|
// 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); } |

Object | |||
![]() |
EventArgs | ||
![]() |
ObjectPropertiesEventArgs | ||
![]() |
ObjectPropertiesUpdatedEventArgs |
Assembly: OpenMetaverse(Module: OpenMetaverse.dll) Version: 0.9.3.3318 (0.9.3.3318)