Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Slate > API/Runtime/Engine/Slate/FSceneViewport
- FViewport::KeyState()
- FSceneViewport::KeyState()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Slate/SceneViewport.h |
| Include | #include "Slate/SceneViewport.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Slate/SceneViewport.cpp |
virtual bool KeyState
&40;
FKey Key
&41; const
Remarks
Returns the state of the provided key. true if the key is pressed, false otherwise
Parameters
| Name | Description |
|---|---|
| Key | The name of the key to check |