Enum ViewerInputKind
- Namespace
- Gym.Environments
- Assembly
- Gym.dll
What a window reported: a key pressed or released, its close button, a new client size, or the mouse (a button pressed or released, the pointer moved, the wheel turned).
public enum ViewerInputKind
- Extension Methods
Fields
KeyDown = 0A key went down; Key holds its SDL keycode.
KeyUp = 1A key went up; Key holds its SDL keycode.
Close = 2The window's close button was pressed; the window stays open (see BeginInput()).
Resized = 3The window's client area changed size; Width and Height hold the new size.
MouseDown = 4A mouse button went down over the frame; Button names it and X, Y hold the pointer.
MouseUp = 5A mouse button went up; Button names it, X and Y hold the pointer.
MouseMove = 6The pointer moved over the frame (or, a button held, anywhere); X and Y hold it.
Scroll = 7The wheel turned; ScrollX and ScrollY hold the turn in notches, X and Y the pointer.