The XCollisionInfo type exposes the following members.

Constructors

  NameDescription
XCollisionInfo

Methods

  NameDescription
Equals

Determines whether the specified Object is equal to the current Object.

(Inherited from Object.)
Finalize

Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

(Inherited from Object.)
GetHashCode

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.

(Inherited from Object.)
GetType

Gets the Type of the current instance.

(Inherited from Object.)
MemberwiseClone

Creates a shallow copy of the current Object.

(Inherited from Object.)
RefineOverloaded.
ToString

Returns a String that represents the current Object.

(Inherited from Object.)

Properties

  NameDescription
Collided
Whether collision happened.
FaceCollision
Detailed information about two surfaces collision.
Handled
Collision has been processed.
OtherInfo
Additional information (depend on XCollisionDetection).
Sprite1
First sprite of the collision.
Sprite2
Second sprite of the collision.
SyncRoot
Time
Time of the collision.
WorldDistance
Distance of the colliding objects in world coordinates.

See Also