Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework
UInputBehavior returns an FInputCaptureRequest from WantsCapture() to indicate whether it wants to capture or ignore an input event
| Name | FInputCaptureRequest |
| Type | struct |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/InputBehavior.h |
| Include Path | #include "InputBehavior.h" |
Syntax
struct FInputCaptureRequest
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FInputCaptureRequest
(
EInputCaptureRequestType type, |
InputBehavior.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| HitDepth | double | Depth along hit-test ray | InputBehavior.h | |
| Owner | void * | Owner of the requesting behavior. Behavior doesn't know this, so this is initialized to null | InputBehavior.h | |
| Side | EInputCaptureSide | Which side does request want to capture on | InputBehavior.h | |
| Source | UInputBehavior * | Which input behavior generated this request | InputBehavior.h | |
| Type | EInputCaptureRequestType | What type of capture request is this (Begin or Ignore) | InputBehavior.h |
Functions
Public
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FInputCaptureRequest Begin
(
UInputBehavior* behavior, |
Create a Begin-capture request | InputBehavior.h | |
static FInputCaptureRequest Ignore() |
Create an ignore-capture request | InputBehavior.h |