Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Kismet
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UBlueprintFunctionLibrary
- UKismetInputLibrary
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetInputLibrary.h |
Include | #include "Kismet/KismetInputLibrary.h" |
Syntax
class UKismetInputLibrary : public UBlueprintFunctionLibrary
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UKismetInputLibrary
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | Calibrate the tilt for the input device | |
![]() ![]() |
bool | Test if the input chords are equal (A == B) | |
![]() ![]() |
bool | EqualEqual_KeyKey
(
FKey A, |
Test if the input key are equal (A == B) |
![]() ![]() |
float | GetAnalogValue
(
const FAnalogInputEvent& Input |
|
![]() ![]() |
FKey | Returns the key for this event. | |
![]() ![]() |
FSlateModifierKeysState | Returns a snapshot of the cached modifier-keys state for the application. | |
![]() ![]() |
int32 | GetUserIndex
(
const FKeyEvent& Input |
|
![]() ![]() |
FText | InputChord_GetDisplayName
(
const FInputChord& Key |
|
![]() ![]() |
bool | InputEvent_IsAltDown
(
const FInputEvent& Input |
Returns true if either alt key was down when this event occurred |
![]() ![]() |
bool | InputEvent_IsCommandDown
(
const FInputEvent& Input |
Returns true if either command key was down when this event occurred |
![]() ![]() |
bool | InputEvent_IsControlDown
(
const FInputEvent& Input |
Returns true if either control key was down when this event occurred |
![]() ![]() |
bool | InputEvent_IsLeftAltDown
(
const FInputEvent& Input |
Returns true if left alt key was down when this event occurred |
![]() ![]() |
bool | InputEvent_IsLeftCommandDown
(
const FInputEvent& Input |
Returns true if left command key was down when this event occurred |
![]() ![]() |
bool | InputEvent_IsLeftControlDown
(
const FInputEvent& Input |
Returns true if left control key was down when this event occurred |
![]() ![]() |
bool | InputEvent_IsLeftShiftDown
(
const FInputEvent& Input |
Returns true if left shift key was down when this event occurred |
![]() ![]() |
bool | InputEvent_IsRepeat
(
const FInputEvent& Input |
Returns whether or not this character is an auto-repeated keystroke |
![]() ![]() |
bool | InputEvent_IsRightAltDown
(
const FInputEvent& Input |
Returns true if right alt key was down when this event occurred |
![]() ![]() |
bool | InputEvent_IsRightCommandDown
(
const FInputEvent& Input |
Returns true if right command key was down when this event occurred |
![]() ![]() |
bool | InputEvent_IsRightControlDown
(
const FInputEvent& Input |
Returns true if left control key was down when this event occurred |
![]() ![]() |
bool | InputEvent_IsRightShiftDown
(
const FInputEvent& Input |
Returns true if right shift key was down when this event occurred |
![]() ![]() |
bool | InputEvent_IsShiftDown
(
const FInputEvent& Input |
Returns true if either shift key was down when this event occurred |
![]() ![]() |
FText | Key_GetDisplayName
(
const FKey& Key, |
Returns the display name of the key. |
![]() ![]() |
EUINavigationAction | Key_GetNavigationAction
(
const FKey& InKey |
|
![]() ![]() |
EUINavigationAction | Key_GetNavigationActionFromKey
(
const FKeyEvent& InKeyEvent |
Returns the navigation action corresponding to this key, or Invalid if not found |
![]() ![]() |
EUINavigation | Key_GetNavigationDirectionFromAnalog
(
const FAnalogInputEvent& InAnalogEvent |
Returns the navigation action corresponding to this key, or Invalid if not found |
![]() ![]() |
EUINavigation | Key_GetNavigationDirectionFromKey
(
const FKeyEvent& InKeyEvent |
Returns the navigation action corresponding to this key, or Invalid if not found |
![]() ![]() |
bool | Key_IsAnalog
(
const FKey& Key |
Returns true if the key is an analog axis |
![]() ![]() |
bool | Key_IsAxis1D
(
const FKey& Key |
Returns true if the key is a 1D (float) axis |
![]() ![]() |
bool | Key_IsAxis2D
(
const FKey& Key |
Returns true if the key is a 2D (vector) axis |
![]() ![]() |
bool | Key_IsAxis3D
(
const FKey& Key |
Returns true if the key is a 3D (vector) axis |
![]() ![]() |
bool | Key_IsButtonAxis
(
const FKey& Key |
Returns true if the key is a 1D axis emulating a digital button press. |
![]() ![]() |
bool | Key_IsDigital
(
const FKey& Key |
Returns true if the key is a digital button press |
![]() ![]() |
bool | Key_IsGamepadKey
(
const FKey& Key |
Returns true if the key is a gamepad button |
![]() ![]() |
bool | Key_IsKeyboardKey
(
const FKey& Key |
Returns true if the key is a keyboard button |
![]() ![]() |
bool | Key_IsModifierKey
(
const FKey& Key |
Returns true if the key is a modifier key: Ctrl, Command, Alt, Shift |
![]() ![]() |
bool | Key_IsMouseButton
(
const FKey& Key |
Returns true if the key is a mouse button |
![]() ![]() |
bool | Key_IsValid
(
const FKey& Key |
Returns true if this is a valid key. |
![]() ![]() |
bool | Key_IsVectorAxis
(
const FKey& Key |
Returns true if the key is a vector axis Deprecated. Use Is Axis 2D/3D instead. |
![]() ![]() |
bool | ModifierKeysState_IsAltDown
(
const FSlateModifierKeysState& KeysState |
Returns true if either alt key was down when the key state was captured |
![]() ![]() |
bool | ModifierKeysState_IsCommandDown
(
const FSlateModifierKeysState& KeysState |
Returns true if either command key was down when the key state was captured |
![]() ![]() |
bool | ModifierKeysState_IsControlDown
(
const FSlateModifierKeysState& KeysState |
Returns true if either control key was down when the key state was captured |
![]() ![]() |
bool | ModifierKeysState_IsShiftDown
(
const FSlateModifierKeysState& KeysState |
Returns true if either shift key was down when the key state was captured |
![]() ![]() |
FVector2D | PointerEvent_GetCursorDelta
(
const FPointerEvent& Input |
Returns the distance the mouse traveled since the last event was handled. |
![]() ![]() |
FKey | PointerEvent_GetEffectingButton
(
const FPointerEvent& Input |
Mouse button that caused this event to be raised (possibly FKey::Invalid) |
![]() ![]() |
FVector2D | PointerEvent_GetGestureDelta
(
const FPointerEvent& Input |
Returns the change in gesture value since the last gesture event of the same type. |
![]() ![]() |
ESlateGesture | PointerEvent_GetGestureType
(
const FPointerEvent& Input |
Returns the type of touch gesture |
![]() ![]() |
FVector2D | PointerEvent_GetLastScreenSpacePosition
(
const FPointerEvent& Input |
Returns the position of the cursor in screen space last time we handled an input event |
![]() ![]() |
int32 | PointerEvent_GetPointerIndex
(
const FPointerEvent& Input |
Returns the unique identifier of the pointer (e.g., finger index) |
![]() ![]() |
FVector2D | PointerEvent_GetScreenSpacePosition
(
const FPointerEvent& Input |
Returns The position of the cursor in screen space |
![]() ![]() |
int32 | PointerEvent_GetTouchpadIndex
(
const FPointerEvent& Input |
Returns the index of the touch pad that generated this event (for platforms with multiple touch pads per user) |
![]() ![]() |
int32 | PointerEvent_GetUserIndex
(
const FPointerEvent& Input |
Returns the index of the user that caused the event |
![]() ![]() |
float | PointerEvent_GetWheelDelta
(
const FPointerEvent& Input |
How much did the mouse wheel turn since the last mouse event |
![]() ![]() |
bool | PointerEvent_IsMouseButtonDown
(
const FPointerEvent& Input, |
Mouse buttons that are currently pressed |
![]() ![]() |
bool | PointerEvent_IsTouchEvent
(
const FPointerEvent& Input |
Returns true if this event a result from a touch (as opposed to a mouse) |