InputPreProcessorsHelper

A helper class to wrap the list of input pre-processors.

Windows
MacOS
Linux

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Framework/Application/SlateApplication.h

Include

#include "Framework/Application/SlateApplication.h"

Syntax

class InputPreProcessorsHelper

Remarks

A helper class to wrap the list of input pre-processors.

Functions

Name Description

Public function

bool

 

Add

(
    TSharedPtr< IInputProcessor > Input...,
    const int32 Index
)

Adds or inserts an unique input pre-processor.

Public function Const

int32

 

Find

(
    TSharedPtr< IInputProcessor > Input...
)

Get the index of an input pre-processor.

Public function

bool

 

HandleAnalogInputEvent

(
    FSlateApplication& SlateApp,
    const FAnalogInputEvent& InAnalogI...
)

Public function

bool

 

HandleKeyDownEvent

(
    FSlateApplication& SlateApp,
    const FKeyEvent& InKeyEvent
)

Public function

bool

 

HandleKeyUpEvent

(
    FSlateApplication& SlateApp,
    const FKeyEvent& InKeyEvent
)

Public function

bool

 

HandleMotionDetectedEvent

(
    FSlateApplication& SlateApp,
    const FMotionEvent& MotionEvent
)

Public function

bool

 

HandleMouseButtonDoubleClickEvent

(
    FSlateApplication& SlateApp,
    const FPointerEvent& MouseEvent
)

Public function

bool

 

HandleMouseButtonDownEvent

(
    FSlateApplication& SlateApp,
    const FPointerEvent& MouseEvent
)

Public function

bool

 

HandleMouseButtonUpEvent

(
    FSlateApplication& SlateApp,
    const FPointerEvent& MouseEvent
)

Public function

bool

 

HandleMouseMoveEvent

(
    FSlateApplication& SlateApp,
    const FPointerEvent& MouseEvent
)

Public function

bool

 

HandleMouseWheelOrGestureEvent

(
    FSlateApplication& SlateApp,
    const FPointerEvent& WheelEvent,
    const FPointerEvent* GestureEv...
)

Public function

void

 

Remove

(
    TSharedPtr< IInputProcessor > Input...
)

Remove an input pre-processor.

Public function

void

 

RemoveAll()

Remove all registered input pre-processors.

Public function

void

 

Tick

(
    const float DeltaTime,
    FSlateApplication& SlateApp,
    TSharedRef< ICursor > Cursor
)

Wrapper functions that call the corresponding function of IInputProcessor for each InputProcessor in the list.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss