FSlateApplication::RegisterInputPreProcessor

Adds input pre-processor if unique.

Windows
MacOS
Linux

References

Module

Slate

Header

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

Include

#include "Framework/Application/SlateApplication.h"

Source

/Engine/Source/Runtime/Slate/Private/Framework/Application/SlateApplication.cpp

Syntax

bool RegisterInputPreProcessor
(
    TSharedPtr< class IInputProcessor > InputProcessor,
    const int32 Index
)

Remarks

Adds input pre-processor if unique.

Returns

True if added to list of input pre-processors, false if not

Parameters

Parameter

Description

InputProcessor

The input pre-processor to add.

Index

Where to insert the InputProcessor, when sorting is needed. Default index will add at the end.

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