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.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

EnhancedInput

Header

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

Include

#include "InputModifiers.h"

Syntax

UCLASS(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.