Tesla Graphics Engine Documentation (January 2012)
MouseState Structure
TeslaTesla.InputMouseState
Represents the state of the mouse, e.g. where the cursor is located on the screen (client coordinates), and what buttons are pressed.
Declaration Syntax
C#
public struct MouseState
Members
All Members Constructors Methods Properties



Icon Member Description
MouseState(Int32, Int32, Int32, ButtonState, ButtonState, ButtonState, ButtonState, ButtonState)
Initializes a new instance of the MouseState struct.

Equals(Object)
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
GetHashCode()()()()
Returns the hash code for this instance.
(Inherited from ValueType.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
LeftButton
Gets the state of the left mouse button.

MiddleButton
Gets the state of the middle mouse button.

Position
Gets the position of the mouse.

RightButton
Gets the state of the right mouse button.

ScrollWheelValue
Gets the mouse scroll wheel value.

ToString()()()()
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
X
Gets the x (horizontal) coordinate of the mouse position.

XButton1
Gets the state of the XButton1.

XButton2
Gets the state of the XButton2.

Y
Gets the y (vertical) coordinate of the mouse position.

Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)