MouseState Members

The following tables list the members exposed by the MouseState type.

Public MethodMouseStateInitializes a new instance of the MouseState class.

Public PropertyLeftButtonReturns the state of the left mouse button.
Public PropertyMiddleButtonReturns the state of the middle mouse button.
Public PropertyRightButtonReturns the state of the right mouse button.
Public PropertyScrollWheelValueGets the cumulative mouse scroll wheel value since the game was started.
Public PropertyXSpecifies the horizontal position of the mouse cursor.
Public PropertyXButton1Returns the state of XBUTTON1.
Public PropertyXButton2Returns the state of XBUTTON2.
Public PropertyYSpecifies the vertical position of the mouse cursor.

Public MethodEqualsOverloaded. Returns a value that indicates whether the current instance is equal to a specified object.
Public MethodGetHashCodeGets the hash code for this instance.
Public MethodGetType (Inherited from Object.)
Public Method Staticop_EqualityDetermines whether two MouseState instances are equal.
Public Method Staticop_InequalityDetermines whether two MouseState instances are not equal.
Public MethodReferenceEquals (Inherited from Object.)
Public MethodToStringRetrieves a string representation of this object.

Protected MethodFinalize (Inherited from Object.)
Protected MethodMemberwiseClone (Inherited from Object.)

Community Additions