UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FFocusEvent Struct Reference

#include <Events.h>

Public Member Functions

 FFocusEvent ()
 
 FFocusEvent (const EFocusCause InCause, uint32 InUserIndex)
 
EFocusCause GetCause () const
 
uint32 GetUser () const
 

Detailed Description

FFocusEvent is used when notifying widgets about keyboard focus changes It is passed to event handlers dealing with keyboard focus

Constructor & Destructor Documentation

◆ FFocusEvent() [1/2]

FFocusEvent::FFocusEvent ( )
inline

UStruct Constructor. Not meant for normal usage.

◆ FFocusEvent() [2/2]

FFocusEvent::FFocusEvent ( const EFocusCause  InCause,
uint32  InUserIndex 
)
inline

Constructor. Events are immutable once constructed.

Parameters
InCauseThe cause of the focus event

Member Function Documentation

◆ GetCause()

EFocusCause FFocusEvent::GetCause ( ) const
inline

Queries the reason for the focus change

Returns
The cause of the focus change

◆ GetUser()

uint32 FFocusEvent::GetUser ( ) const
inline

Queries the user that is changing focus

Returns
The user that is changing focus

The documentation for this struct was generated from the following file: