Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework
IInputBehavior returns an FInputCaptureUpdate from BeginCapture() and UpdateCapture(), which indicates to the InputRouter what the Behavior would like to have happen.
| Name | FInputCaptureUpdate |
| Type | struct |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/InputBehavior.h |
| Include Path | #include "InputBehavior.h" |
Syntax
struct FInputCaptureUpdate
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FInputCaptureUpdate
(
EInputCaptureState StateIn, |
InputBehavior.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Data | FInputCaptureData | Custom data for the active capture that should be propagated to next UpdateCapture() call | InputBehavior.h | |
| Source | UInputBehavior * | Which Behavior did this update come from | InputBehavior.h | |
| State | EInputCaptureState | Indicates what capture state the Behavior wants to transition to | InputBehavior.h |
Functions
Public
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FInputCaptureUpdate Begin
(
UInputBehavior* SourceBehavior, |
Create a begin-capturing instance of FInputCaptureUpdate | InputBehavior.h | |
static FInputCaptureUpdate Continue() |
Create a default continue-capturing instance of FInputCaptureUpdate | InputBehavior.h | |
static FInputCaptureUpdate End() |
Create a default end-capturing instance of FInputCaptureUpdate | InputBehavior.h | |
static FInputCaptureUpdate Ignore() |
Create a default ignore-capturing instance of FInputCaptureUpdate | InputBehavior.h |