Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/FSlateApplication
A helper class to wrap the list of input pre-processors.
| Name | InputPreProcessorsHelper |
| Type | class |
| Header File | /Engine/Source/Runtime/Slate/Public/Framework/Application/SlateApplication.h |
| Include Path | #include "Framework/Application/SlateApplication.h" |
Syntax
class InputPreProcessorsHelper
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FInputProcessorStorage | TSparseArray< FProcessorTypeStorage, TInlineSparseArrayAllocator<(uint32) EInputPreProcessorType::Count > > | Framework/Application/SlateApplication.h | |
| FProcessorTypeStorage | TArray< TSharedPtr< IInputProcessor > > | Framework/Application/SlateApplication.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsIteratingPreProcessors | bool | Guard value for if we are currently iterating our preprocessors. | Framework/Application/SlateApplication.h | |
| InputPreProcessors | FInputProcessorStorage | The container of input pre-processors, indexed by type and ordered by priority. | Framework/Application/SlateApplication.h | |
| InputPreProcessorsIteratorList | TArray< TSharedPtr< IInputProcessor > > | Flat array built from the ordered contents of the InputPreProcessors map to speed iteration | Framework/Application/SlateApplication.h | |
| ProcessorsPendingAddition | TArray< FInputPreprocessorRegistration > | A list of pre-processors to add if we are iterating them while addition is requested. | Framework/Application/SlateApplication.h | |
| ProcessorsPendingRemoval | TArray< TSharedPtr< IInputProcessor > > | A list of pre-processors to remove if we are iterating them while removal is requested. | Framework/Application/SlateApplication.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool Add
(
const FInputPreprocessorRegistration& Registration |
Adds or inserts an unique input pre-processor. | Framework/Application/SlateApplication.h | |
int32 Find
(
TSharedPtr< IInputProcessor > InputProcessor, |
Get the index of an input pre-processor. | Framework/Application/SlateApplication.h | |
bool HandleAnalogInputEvent
(
FSlateApplication& SlateApp, |
Framework/Application/SlateApplication.h | ||
bool HandleKeyDownEvent
(
FSlateApplication& SlateApp, |
Framework/Application/SlateApplication.h | ||
bool HandleKeyUpEvent
(
FSlateApplication& SlateApp, |
Framework/Application/SlateApplication.h | ||
bool HandleMotionDetectedEvent
(
FSlateApplication& SlateApp, |
Framework/Application/SlateApplication.h | ||
bool HandleMouseButtonDoubleClickEvent
(
FSlateApplication& SlateApp, |
Framework/Application/SlateApplication.h | ||
bool HandleMouseButtonDownEvent
(
FSlateApplication& SlateApp, |
Framework/Application/SlateApplication.h | ||
bool HandleMouseButtonUpEvent
(
FSlateApplication& SlateApp, |
Framework/Application/SlateApplication.h | ||
bool HandleMouseMoveEvent
(
FSlateApplication& SlateApp, |
Framework/Application/SlateApplication.h | ||
bool HandleMouseWheelOrGestureEvent
(
FSlateApplication& SlateApp, |
Framework/Application/SlateApplication.h | ||
void Remove
(
TSharedPtr< IInputProcessor > InputProcessor |
Remove an input pre-processor. | Framework/Application/SlateApplication.h | |
void RemoveAll() |
Remove all registered input pre-processors. | Framework/Application/SlateApplication.h | |
void Tick
(
const float DeltaTime, |
Wrapper functions that call the corresponding function of IInputProcessor for each InputProcessor in the list. | Framework/Application/SlateApplication.h |