Constains information about current mouse status
| C# |
public struct Mouse
| All Members | Methods | Properties | |||
| Icon | Member | Description |
|---|---|---|
| CellLocation |
Position of the mouse cursor character sized blocks
| |
| CellVelocityX |
Mouse velocity in x direction in character sized blocks
| |
| CellVelocityY |
Mouse velocity in y direction in character sized blocks
| |
| CellX |
Position in x directory in character sized blocks
| |
| CellY |
Position in Y directory in character sized blocks
| |
| Equals(Object) | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) | |
| 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()()() | Returns the hash code for this instance. (Inherited from ValueType.) | |
| GetStatus()()() |
Get current mouse status
| |
| GetType()()() | Gets the Type of the current instance. (Inherited from Object.) | |
| IsVisible |
Return if cursor is visible
| |
| LeftButton | ||
| LeftButtonPressed | ||
| MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| MiddleButton | ||
| MiddleButtonPressed | ||
| MoveMouse(Int32, Int32) |
Move user's mouse to that location
| |
| PixelLocation |
Position of the mouse cursor.
| |
| PixelVelocityX |
Mouse velocity in x direction in pixels
| |
| PixelVelocityY |
Mouse velocity in y direction in pixels
| |
| PixelX |
Position in x direction in pixels
| |
| PixelY |
Position in y direction in pixels
| |
| RightButton | ||
| RightButtonPressed | ||
| ShowCursor(Boolean) |
Changes visiblity of mouse while in our window(s)
| |
| ToString()()() | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |