MouseButtonEventArgs Class
From SFML.Net
SFML.Net
| MouseButtonEventArgs Class |
Mouse buttons event parameters
SystemObject SystemEventArgs
SFML.WindowMouseButtonEventArgs
SFML.WindowMouseButtonEventArgs
Namespace: SFML.Window
Assembly: sfmlnet-window-2 (in sfmlnet-window-2.dll) Version: 2.2.0.0 (2.2.0)
The MouseButtonEventArgs type exposes the following members.
| Name | Description | |
|---|---|---|
| MouseButtonEventArgs |
Construct the mouse button arguments from a mouse button event
|
| Name | Description | |
|---|---|---|
| Equals |
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.) | |
| 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 |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| ToString |
Provide a string describing the object
(Overrides ObjectToString.) |
| Name | Description | |
|---|---|---|
| Button | Code of the button (see MouseButton enum) | |
| X | X coordinate of the mouse cursor | |
| Y | Y coordinate of the mouse cursor |