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

#include <InputBehavior.h>

Public Member Functions

 FInputCaptureRequest (EInputCaptureRequestType type, UInputBehavior *behavior, EInputCaptureSide whichSide, double hitDepth=TNumericLimits< double >::Max())
 

Static Public Member Functions

static FInputCaptureRequest Begin (UInputBehavior *behavior, EInputCaptureSide whichSide, double hitDepth=TNumericLimits< double >::Max())
 
static FInputCaptureRequest Ignore ()
 

Public Attributes

UInputBehaviorSource
 
EInputCaptureRequestType Type
 
EInputCaptureSide Side
 
double HitDepth
 
voidOwner
 

Friends

bool operator< (const FInputCaptureRequest &l, const FInputCaptureRequest &r)
 

Detailed Description

UInputBehavior returns an FInputCaptureRequest from WantsCapture() to indicate whether it wants to capture or ignore an input event

Constructor & Destructor Documentation

◆ FInputCaptureRequest()

FInputCaptureRequest::FInputCaptureRequest ( EInputCaptureRequestType  type,
UInputBehavior behavior,
EInputCaptureSide  whichSide,
double  hitDepth = TNumericLimits<double>::Max() 
)
inline

Member Function Documentation

◆ Begin()

static FInputCaptureRequest FInputCaptureRequest::Begin ( UInputBehavior behavior,
EInputCaptureSide  whichSide,
double  hitDepth = TNumericLimits<double>::Max() 
)
inlinestatic

Create a Begin-capture request

◆ Ignore()

static FInputCaptureRequest FInputCaptureRequest::Ignore ( )
inlinestatic

Create an ignore-capture request

Friends And Related Symbol Documentation

◆ operator<

bool operator< ( const FInputCaptureRequest l,
const FInputCaptureRequest r 
)
friend

Member Data Documentation

◆ HitDepth

double FInputCaptureRequest::HitDepth

Depth along hit-test ray

◆ Owner

void* FInputCaptureRequest::Owner

Owner of the requesting behavior. Behavior doesn't know this, so this is initialized to null

◆ Side

EInputCaptureSide FInputCaptureRequest::Side

Which side does request want to capture on

◆ Source

UInputBehavior* FInputCaptureRequest::Source

Which input behavior generated this request

◆ Type

EInputCaptureRequestType FInputCaptureRequest::Type

What type of capture request is this (Begin or Ignore)


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