Defines the event data for MouseDevice.WheelChanged events.
More...
|
int | Value [get] |
| Gets the value of the wheel in integer units. To support high-precision mice, it is recommended to use ValuePrecise instead. More...
|
|
int | Delta [get] |
| Gets the change in value of the wheel for this event in integer units. To support high-precision mice, it is recommended to use DeltaPrecise instead. More...
|
|
float | ValuePrecise [get, set] |
| Gets the precise value of the wheel in floating-point units. More...
|
|
float | DeltaPrecise [get, set] |
| Gets the precise change in value of the wheel for this event in floating-point units. More...
|
|
int | X [get, set] |
| Gets the X position of the mouse for the event. More...
|
|
int | Y [get, set] |
| Gets the Y position of the mouse for the event. More...
|
|
Point | Position [get] |
| Gets a System.Drawing.Points representing the location of the mouse for the event. More...
|
|
Defines the event data for MouseDevice.WheelChanged events.
Do not cache instances of this type outside their event handler. If necessary, you can clone an instance using the MouseWheelEventArgs(MouseWheelEventArgs) constructor.
OpenTK.Input.MouseWheelEventArgs.MouseWheelEventArgs |
( |
| ) |
|
OpenTK.Input.MouseWheelEventArgs.MouseWheelEventArgs |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
value, |
|
|
int |
delta |
|
) |
| |
Constructs a new MouseWheelEventArgs instance.
- Parameters
-
x | The X position. |
y | The Y position. |
value | The value of the wheel. |
delta | The change in value of the wheel for this event. |
int OpenTK.Input.MouseWheelEventArgs.Delta |
|
get |
Gets the change in value of the wheel for this event in integer units. To support high-precision mice, it is recommended to use DeltaPrecise instead.
float OpenTK.Input.MouseWheelEventArgs.DeltaPrecise |
|
getset |
Gets the precise change in value of the wheel for this event in floating-point units.
int OpenTK.Input.MouseWheelEventArgs.Value |
|
get |
Gets the value of the wheel in integer units. To support high-precision mice, it is recommended to use ValuePrecise instead.
float OpenTK.Input.MouseWheelEventArgs.ValuePrecise |
|
getset |
Gets the precise value of the wheel in floating-point units.