FSlateApplication::InputPreProcessorsHelper::Add

Adds or inserts an unique input pre-processor.

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 Add
(
    TSharedPtr< IInputProcessor > InputProcessor,
    const int32 Index
)

Remarks

Adds or inserts an unique input pre-processor.

Parameters

Parameter

Description

InputProcessor

The InputProcessor to add.

Index

When this is set the index will be used to insert the InputProcessor. Defaults to INDEX_NONE, resulting in AddUnique.

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