#include <WindowsInput.h>
WindowsInput.h 파일의 6 번째 라인에서 정의되었습니다.
◆ GetMousePosition()
| static std::pair<float, float> Gear::Input::GetMousePosition |
( |
| ) |
|
|
inlinestaticinherited |
◆ GetMousePositionImpl()
| std::pair< float, float > Gear::WindowsInput::GetMousePositionImpl |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ GetMouseX()
| static float Gear::Input::GetMouseX |
( |
| ) |
|
|
inlinestaticinherited |
◆ GetMouseXImpl()
| float Gear::WindowsInput::GetMouseXImpl |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ GetMouseY()
| static float Gear::Input::GetMouseY |
( |
| ) |
|
|
inlinestaticinherited |
◆ GetMouseYImpl()
| float Gear::WindowsInput::GetMouseYImpl |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ IsKeyPressd()
| static bool Gear::Input::IsKeyPressd |
( |
int |
keycode | ) |
|
|
inlinestaticinherited |
◆ IsKeyPressedImpl()
| bool Gear::WindowsInput::IsKeyPressedImpl |
( |
int |
keycode | ) |
|
|
overrideprotectedvirtual |
Gear::Input를 구현.
WindowsInput.cpp 파일의 11 번째 라인에서 정의되었습니다.
14 auto state = glfwGetKey(window, keycode);
16 return state == GLFW_PRESS || state == GLFW_REPEAT;
◆ IsMouseButtonPressed()
| static bool Gear::Input::IsMouseButtonPressed |
( |
int |
button | ) |
|
|
inlinestaticinherited |
◆ IsMouseButtonPressedImpl()
| bool Gear::WindowsInput::IsMouseButtonPressedImpl |
( |
int |
keycode | ) |
|
|
overrideprotectedvirtual |
◆ s_Instance
이 클래스에 대한 문서화 페이지는 다음의 파일들로부터 생성되었습니다.: