UInputModifierToWorldSpace

Input space to World space conversion Auto-converts axes within the Input Action Value into world space allowing the result to be directly plugged into functions that take world space values.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

EnhancedInput

Header

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

Include

#include "InputModifiers.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(NotBlueprintable, MinimalAPI, Meta=(DisplayName="To World Space"))
class UInputModifierToWorldSpace : public UInputModifier

Remarks

Input space to World space conversion Auto-converts axes within the Input Action Value into world space allowing the result to be directly plugged into functions that take world space values. E.g. For a 2D input axis up/down is mapped to world X (forward), whilst axis left/right is mapped to world Y (right).

Overridden from UInputModifier

Name Description

Protected function Virtual Const

FLinearColor

 

GetVisualizationColor_Implementation

(
    FInputActionValue SampleValue,
    FInputActionValue FinalValue
)

Protected function Virtual

FInputAction...

 

ModifyRaw_Implementation

(
    const UEnhancedPlayerInput* Pl...,
    FInputActionValue CurrentValue,
    float DeltaTime
)

ModifyRaw implementation.

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