Navigation
API > API/Plugins > API/Plugins/EnhancedInput
Scalar Scales input by a set factor per axis
| Name | UInputModifierScalar |
| Type | class |
| Header File | /Engine/Plugins/EnhancedInput/Source/EnhancedInput/Public/InputModifiers.h |
| Include Path | #include "InputModifiers.h" |
Syntax
UCLASS (NotBlueprintable, MinimalAPI, Meta=(DisplayName="Scalar"))
class UInputModifierScalar : public UInputModifier
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UInputModifier → UInputModifierScalar
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Scalar | FVector | The scalar that will be applied to the input value. | InputModifiers.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual EDataValidationResult IsDataValid
(
FDataValidationContext& Context |
InputModifiers.h |
Protected
Overridden from UInputModifier
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FInputActionValue ModifyRaw_Implementation
(
const UEnhancedPlayerInput* PlayerInput, |
ModifyRaw implementation. Override this to alter input values in native code. | InputModifiers.h |