Tesla Graphics Engine Documentation (January 2012)
MouseState Constructor (x, y, scrollWheel, leftButton, rightButton, middleButton, xButton1, xButton2)
TeslaTesla.InputMouseStateMouseState(Int32, Int32, Int32, ButtonState, ButtonState, ButtonState, ButtonState, ButtonState)
Initializes a new instance of the MouseState struct.
Declaration Syntax
C#
public MouseState(
	int x,
	int y,
	int scrollWheel,
	ButtonState leftButton,
	ButtonState rightButton,
	ButtonState middleButton,
	ButtonState xButton1,
	ButtonState xButton2
)
Parameters
x (Int32)
The x (horizontal) position of the mouse. Typically these are client coordinates.
y (Int32)
The y (verticaly) position of the mouse. Typically these are client coordinates.
scrollWheel (Int32)
The scroll wheel value.
leftButton (ButtonState)
The left button state.
rightButton (ButtonState)
The right button state.
middleButton (ButtonState)
The middle button state.
xButton1 (ButtonState)
The XButton1 state.
xButton2 (ButtonState)
The XButton2 state.

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