Navigation
API > API/Plugins > API/Plugins/EnhancedInput
Inheritance Hierarchy
- UObject
- UInputModifier
- UInputModifierToWorldSpace
References
| Module | EnhancedInput |
| Header | /Engine/Plugins/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
| Type | Name | Description | |
|---|---|---|---|
| FLinearColor | GetVisualizationColor_Implementation
(
FInputActionValue SampleValue, |
||
| FInputActionValue | ModifyRaw_Implementation
(
const UEnhancedPlayerInput* PlayerInput, |
ModifyRaw implementation. Override this to alter input values in native code. |