creator.core.input

Undocumented in source.

Members

Functions

incInputGetMousePosition
vec2 incInputGetMousePosition()

Gets the position of the mouse in the viewport

incInputIsDragRequested
bool incInputIsDragRequested(ImGuiMouseButton btn)

Gets whether the user has requested to drag something

incInputIsKeyDown
bool incInputIsKeyDown(ImGuiKey key)

Gets whether a key is held down

incInputIsKeyPressed
bool incInputIsKeyPressed(ImGuiKey key)

Gets whether a key is held down

incInputIsKeyUp
bool incInputIsKeyUp(ImGuiKey key)

Gets whether a key is held down

incInputIsMouseClicked
bool incInputIsMouseClicked(ImGuiMouseButton idx)

Gets whether a mouse button is down

incInputIsMouseDown
bool incInputIsMouseDown(int idx)

Gets whether a mouse button is down

incInputIsMouseReleased
bool incInputIsMouseReleased(ImGuiMouseButton idx)

Gets whether a mouse button is down

incInputIsPopupRequested
bool incInputIsPopupRequested()

Gets whether a right click popup menu is requested by the user

incInputPoll
void incInputPoll()

Begins a UI input pass

incInputSetViewportMouse
void incInputSetViewportMouse(float x, float y)

Sets the mouse within the viewport

incKeyScancode
ImGuiKey incKeyScancode(string c)
Undocumented in source. Be warned that the author may not have intended to support it.
incShortcut
bool incShortcut(string s, bool repeat)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta