Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/UPlayerInput
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerInput.h |
| Include | #include "GameFramework/PlayerInput.h" |
| Source | /Engine/Source/Runtime/Engine/Private/UserInterface/PlayerInput.cpp |
virtual float SmoothMouse
&40;
float aMouse,
uint8 & SampleCount,
int32 Index
&41;
Remarks
- Smooth mouse movement, because mouse sampling doesn't match up with tick time.
-
if we got sample event for zero mouse samples (so we didn't have to guess whether a 0 was caused by no sample occuring during the tick (at high frame rates) or because the mouse actually stopped)
Parameters
| Name | Description |
|---|---|