UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Events.h File Reference
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "UObject/Class.h"
#include "InputCoreTypes.h"
#include "Types/SlateEnums.h"
#include "GenericPlatform/GenericApplication.h"
#include "GenericPlatform/GenericPlatformInputDeviceMapper.h"
#include "Layout/Geometry.h"
#include "Types/SlateVector2.h"
#include "Events.generated.h"

Go to the source code of this file.

Classes

struct  FFocusEvent
 
struct  FCaptureLostEvent
 
struct  FVirtualPointerPosition
 
struct  FInputEvent
 
struct  TStructOpsTypeTraits< FInputEvent >
 
struct  FKeyEvent
 
struct  TStructOpsTypeTraits< FKeyEvent >
 
struct  FAnalogInputEvent
 
struct  TStructOpsTypeTraits< FAnalogInputEvent >
 
struct  FCharacterEvent
 
struct  TStructOpsTypeTraits< FCharacterEvent >
 
class  FTouchKeySet
 
struct  FPointerEvent
 
struct  TStructOpsTypeTraits< FPointerEvent >
 
struct  FMotionEvent
 
struct  TStructOpsTypeTraits< FMotionEvent >
 
struct  FNavigationEvent
 
struct  TStructOpsTypeTraits< FNavigationEvent >
 
class  FWindowActivateEvent
 

Enumerations

enum class  EFocusCause : uint8 {
  Mouse , Navigation , SetDirectly , Cleared ,
  OtherWidgetLostFocus , WindowActivate
}
 

Enumeration Type Documentation

◆ EFocusCause

enum class EFocusCause : uint8
strong

Context for focus change

Enumerator
Mouse 

Focus was changed because of a mouse action.

Navigation 

Focus was changed in response to a navigation, such as the arrow keys, TAB key, controller DPad, ...

SetDirectly 

Focus was changed because someone asked the application to change it.

Cleared 

Focus was explicitly cleared via the escape key or other similar action.

OtherWidgetLostFocus 

Focus was changed because another widget lost focus, and focus moved to a new widget.

WindowActivate 

Focus was set in response to the owning window being activated.