Struct MouseState
Information about the mouse state
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: Inferno.Input
Assembly: Inferno.Desktop.dll
Syntax
public struct MouseState
Constructors
| Improve this Doc View SourceMouseState(Int32, Int32, Int32, ButtonState, ButtonState, ButtonState, ButtonState, ButtonState)
Declaration
public MouseState(int x, int y, int scrollwheel, ButtonState left, ButtonState middle, ButtonState right, ButtonState x1, ButtonState x2)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | x | |
System.Int32 | y | |
System.Int32 | scrollwheel | |
ButtonState | left | |
ButtonState | middle | |
ButtonState | right | |
ButtonState | x1 | |
ButtonState | x2 |
Fields
| Improve this Doc View SourceLeftButton
Left click state
Declaration
public ButtonState LeftButton
Field Value
Type | Description |
---|---|
ButtonState |
MiddleButton
Middle click state
Declaration
public ButtonState MiddleButton
Field Value
Type | Description |
---|---|
ButtonState |
RightButton
Right click state
Declaration
public ButtonState RightButton
Field Value
Type | Description |
---|---|
ButtonState |
ScrollWheelValue
The value of the scroll wheel
Declaration
public int ScrollWheelValue
Field Value
Type | Description |
---|---|
System.Int32 |
X
X coordinate of the mouse on screen
Declaration
public int X
Field Value
Type | Description |
---|---|
System.Int32 |
XButton1
Extra button 1 state
Declaration
public ButtonState XButton1
Field Value
Type | Description |
---|---|
ButtonState |
XButton2
Extra button 2 state
Declaration
public ButtonState XButton2
Field Value
Type | Description |
---|---|
ButtonState |
Y
Y coordinate of the mouse on screen
Declaration
public int Y
Field Value
Type | Description |
---|---|
System.Int32 |