Navigation
API > API/Plugins > API/Plugins/EnhancedInput
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).
| Name | UInputModifierToWorldSpace |
| Type | class |
| Header File | /Engine/Plugins/EnhancedInput/Source/EnhancedInput/Public/InputModifiers.h |
| Include Path | #include "InputModifiers.h" |
Syntax
UCLASS (NotBlueprintable, MinimalAPI, Meta=(DisplayName="To World Space"))
class UInputModifierToWorldSpace : public UInputModifier
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UInputModifier → UInputModifierToWorldSpace
Functions
Protected
Overridden from UInputModifier
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FLinearColor GetVisualizationColor_Implementation
(
FInputActionValue SampleValue, |
InputModifiers.h | ||
virtual FInputActionValue ModifyRaw_Implementation
(
const UEnhancedPlayerInput* PlayerInput, |
ModifyRaw implementation. Override this to alter input values in native code. | InputModifiers.h |