SpiecsEngine
 
Loading...
Searching...
No Matches

◆ IsKeyPressed()

static bool Spices::Input::IsKeyPressed ( const int & keycode)
inlinestaticinherited

Query If given Key is Pressed.

Parameters
[in]keycodeIn Key Code.
Returns
Returns true if given Key is Pressed.

Definition at line 34 of file Input.h.

34{ return s_Instance->IsKeyPressedImpl(keycode); }
static std::unique_ptr< Input > s_Instance
Platform Specific Input Class.
Definition Input.h:105

Referenced by Spices::ImguiMainMenu::OnEvent(), Spices::WorldPickIDQuerier::OnMouseButtonPressed(), Spices::ImguiGizmos::OnRender(), Spices::CameraController::OnTick(), and Spices::MeshController::OnTick().