C# 클래스 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

상속: System.EventArgs
파일 보기 프로젝트 열기: openmetaversefoundation/libopenmetaverse 1 사용 예제들

공개 메소드들

메소드 설명
PrimEventArgs ( Simulator simulator, Primitive prim, ushort timeDilation, bool isNew, bool isAttachment ) : System

Construct a new instance of the PrimEventArgs class

메소드 상세

PrimEventArgs() 공개 메소드

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
리턴 System