Tesla Graphics Engine Documentation (January 2012)
Mouse Class
TeslaTesla.InputMouse
Mouse static class that polls the current mouse state. Usage is equivalent to directly using an IMouseWrapper.
Declaration Syntax
C#
public static class Mouse
Members
All Members Methods Properties



Icon Member Description
GetMouseState()()()()
Get the current mouse state.

GetMouseState(IntPtr)
Get the current mouse state of a specified window.

Handle
Set the default window handle for the mouse. This is necessary to get the client coordinates for the mouse.

SetPosition(Int32, Int32)
Sets the position of the mouse cursor in the client window.

Inheritance Hierarchy
Object
Mouse

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