Export (0) Print
Expand All

MouseState Members

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

NameDescription
Public MethodMouseStateInitializes a new instance of the MouseState class.

NameDescription
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.

NameDescription
Public MethodEqualsReturns 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 MethodToStringRetrieves a string representation of this object.

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

Community Additions

ADD
Show:
© 2014 Microsoft