MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / onKeyEvent

Function onKeyEvent

Source/Falcor/Core/SampleApp.h:141–141  ·  view source on GitHub ↗

* Called every time a key event occurred. * @param[in] keyEvent The keyboard event. * @return true if the event was consumed by the callback, otherwise false. */

Source from the content-addressed store, hash-verified

139 * @return true if the event was consumed by the callback, otherwise false.
140 */
141 virtual bool onKeyEvent(const KeyboardEvent& keyEvent) { return false; }
142
143 /**
144 * Called every time a mouse event occurred.

Callers 1

handleKeyboardEventMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected