Mouse Class

SFML.Net

Mouse Class
Give access to the real-time state of the mouse
Inheritance Hierarchy
SystemObject  SFML.WindowMouse

Namespace: SFML.Window
Assembly: sfmlnet-window-2 (in sfmlnet-window-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
public static class Mouse
Public NotInheritable Class Mouse
public ref class Mouse abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type Mouse =  class end

The Mouse type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetPosition
Get the current position of the mouse
Public methodStatic memberGetPosition(Window)
Get the current position of the mouse
Public methodStatic memberIsButtonPressed
Check if a mouse button is pressed
Public methodStatic memberSetPosition(Vector2i)
Set the current position of the mouse
Public methodStatic memberSetPosition(Vector2i, Window)
Set the current position of the mouse
Top
See Also