UEnhancedInputLibrary::RequestRebuildControlMappingsUsingContext

Flag all enhanced input subsystems making use of the mapping context for reapplication of all control mappings at the end of this frame.

Windows
MacOS
Linux

References

Module

EnhancedInput

Header

/Engine/Plugins/Experimental/EnhancedInput/Source/EnhancedInput/Public/EnhancedInputLibrary.h

Include

#include "EnhancedInputLibrary.h"

Source

/Engine/Plugins/Experimental/EnhancedInput/Source/EnhancedInput/Private/EnhancedInputLibrary.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, BlueprintCosmetic, Category="Input")
static void RequestRebuildControlMappingsUsingContext
(
    const UInputMappingContext * Context,
    bool bForceImmediately
)

Remarks

Flag all enhanced input subsystems making use of the mapping context for reapplication of all control mappings at the end of this frame.

Parameters

Parameter

Description

Context

Mappings will be rebuilt for all subsystems utilizing this context.

bForceImmediately

The mapping changes will be applied synchronously, rather than at the end of the frame, making them available to the input system on the same frame.

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