Navigation
API > API/Plugins > API/Plugins/InputEditor
Inheritance Hierarchy
- UDynamicSubsystem
- UEditorSubsystem
- UEnhancedInputEditorSubsystem
References
Module | InputEditor |
Header | /Engine/Plugins/EnhancedInput/Source/InputEditor/Public/EnhancedInputEditorSubsystem.h |
Include | #include "EnhancedInputEditorSubsystem.h" |
Syntax
UCLASS ()
class UEnhancedInputEditorSubsystem :
public UEditorSubsystem ,
public IEnhancedInputSubsystemInterface ,
public FTickableGameObject
Remarks
The Enhanced Input Editor Subsystem can be used to process input outside of PIE within the editor. Calling StartConsumingInput will allow the input preprocessor to drive Input Action delegates to be fired in the editor.
This allows you to hook up Input Action delegates in Editor Utilities to make editor tools driven by input.
Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
TMap< TObjectPtr< const UInputAction >, FInjectedInput > | ContinuouslyInjectedInputs | Map of inputs that should be injected every frame. These inputs will be injected when ForcedInput is ticked. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | Adds all the default mapping contexts from the UEnhancedInputEditorSettings | |
![]() ![]() |
void | Deinitialize () |
|
![]() ![]() |
TStatId | GetStatId () |
|
![]() ![]() ![]() |
UWorld * | ||
![]() ![]() ![]() |
ETickableTickType | ||
![]() ![]() ![]() |
UWorld * | GetWorld () |
|
![]() ![]() |
void | Initialize
(
FSubsystemCollectionBase& Collection |
|
![]() |
bool | InputKey
(
const FInputKeyParams& Params |
Inputs a key on this subsystem's player input which can then be processed as normal during Tick. |
![]() ![]() ![]() ![]() |
bool | Returns true if this subsystem is currently consuming input | |
![]() ![]() ![]() |
bool | IsTickable () |
|
![]() ![]() ![]() |
bool | ||
![]() ![]() ![]() |
bool | PopInputComponent
(
UInputComponent* InInputComponent |
Removes this input component onto the stack to be processed by this subsystem's tick function |
![]() ![]() ![]() |
void | PushInputComponent
(
UInputComponent* InInputComponent |
Pushes this input component onto the stack to be processed by this subsystem's tick function |
![]() |
void | Removes all the default mapping contexts from the UEnhancedInputEditorSettings | |
![]() ![]() ![]() |
bool | ShouldCreateSubsystem
(
UObject* Outer |
|
![]() ![]() ![]() |
void | Start the consumption of input messages in this subsystem. | |
![]() ![]() ![]() |
void | Tells this subsystem to stop ticking and consuming any input. | |
![]() ![]() |
void | Tick
(
float DeltaTime |
Overridden from IEnhancedInputSubsystemInterface
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
TMap< TObjectPtr< const UInputAction >, FInjectedInput > & | Pure-virtual getter for the map of inputs that should be injected every frame. | |
![]() ![]() ![]() |
UEnhancedPlayerInput * |