C# Class OpenMetaverse.PrimEventArgs

Provides data for the ObjectManager.ObjectUpdate event

The ObjectManager.ObjectUpdate event occurs when the simulator sends an ObjectUpdatePacket containing a Primitive, Foliage or Attachment data

Note 1: The ObjectManager.ObjectUpdate event will not be raised when the object is an Avatar

Note 2: It is possible for the ObjectManager.ObjectUpdate to be raised twice for the same object if for example the primitive moved to a new simulator, then returned to the current simulator or if an Avatar crosses the border into a new simulator and returns to the current simulator

Inheritance: System.EventArgs
Show file Open project: openmetaversefoundation/libopenmetaverse Class Usage Examples

Public Methods

Method Description
PrimEventArgs ( Simulator simulator, Primitive prim, ushort timeDilation, bool isNew, bool isAttachment ) : System

Construct a new instance of the PrimEventArgs class

Method Details

PrimEventArgs() public method

Construct a new instance of the PrimEventArgs class
public PrimEventArgs ( Simulator simulator, Primitive prim, ushort timeDilation, bool isNew, bool isAttachment ) : System
simulator Simulator The simulator the object originated from
prim Primitive The Primitive
timeDilation ushort The simulator time dilation
isNew bool The prim was not in the dictionary before this update
isAttachment bool true if the primitive represents an attachment to an agent
return System