Functions¶
Input
Brief descriptions¶
Functions |
|
Informs the input manager of the screen resolution. |
|
Updates the input state. |
|
Updates the input state. |
|
Retrieves the input manager. |
Detailed information¶
input::setScreenResolution¶
engine/core/modules/input/include/nau/input.h
-
void nau::input::setScreenResolution(int x, int y)¶
Informs the input manager of the screen resolution.
It is necessary for the manager to be aware of the screen size for correct mouse input mapping.
- Parameters:
x, y – [in] Screen resolution.
input::update¶
engine/core/modules/input/include/nau/input.h
-
void nau::input::update()¶
Updates the input state.
If the input manager implementation does not use system time (i.e.
useSystemTime
is set tofalse
), prefer update(float dt) over this function.
input::update¶
engine/core/modules/input/include/nau/input.h
input::getGaInputManager¶
engine/core/modules/input/include/nau/input.h
-
void *nau::input::getGaInputManager()¶
Retrieves the input manager.
- Returns:
A pointer to the input manager.