Defines the event data for MouseDevice.WheelChanged events. More...
Public Member Functions | |
| MouseWheelEventArgs () | |
| Constructs a new MouseWheelEventArgs instance. | |
| MouseWheelEventArgs (int x, int y, int value, int delta) | |
| Constructs a new MouseWheelEventArgs instance. | |
| MouseWheelEventArgs (MouseWheelEventArgs args) | |
| Constructs a new MouseWheelEventArgs instance. | |
Properties | |
| int | Value [get] |
| Gets the value of the wheel in integer units. To support high-precision mice, it is recommended to use ValuePrecise instead. | |
| 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. | |
| float | ValuePrecise [get, set] |
| Gets the precise value of the wheel in floating-point units. | |
| float | DeltaPrecise [get, set] |
| Gets the precise change in value of the wheel for this event in floating-point units. | |
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.
Definition at line 570 of file MouseDevice.cs.
| OpenTK.Input.MouseWheelEventArgs.MouseWheelEventArgs | ( | ) |
Constructs a new MouseWheelEventArgs instance.
Definition at line 584 of file MouseDevice.cs.
| OpenTK.Input.MouseWheelEventArgs.MouseWheelEventArgs | ( | int | x, | |
| int | y, | |||
| int | value, | |||
| int | delta | |||
| ) |
Constructs a new MouseWheelEventArgs instance.
| 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. |
Definition at line 593 of file MouseDevice.cs.
| OpenTK.Input.MouseWheelEventArgs.MouseWheelEventArgs | ( | MouseWheelEventArgs | args | ) |
Constructs a new MouseWheelEventArgs instance.
| args | The MouseWheelEventArgs instance to clone. |
Definition at line 604 of file MouseDevice.cs.
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.
Definition at line 623 of file MouseDevice.cs.
float OpenTK.Input.MouseWheelEventArgs.DeltaPrecise [get, set] |
Gets the precise change in value of the wheel for this event in floating-point units.
Definition at line 633 of file MouseDevice.cs.
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.
Definition at line 617 of file MouseDevice.cs.
float OpenTK.Input.MouseWheelEventArgs.ValuePrecise [get, set] |
Gets the precise value of the wheel in floating-point units.
Definition at line 628 of file MouseDevice.cs.
1.6.1