unreal.InputModifierScalar
¶
- class unreal.InputModifierScalar(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
InputModifier
Scalar Scales input by a set factor per axis
C++ Source:
Plugin: EnhancedInput
Module: EnhancedInput
File: InputModifiers.h
Editor Properties: (see get_editor_property/set_editor_property)
scalar
(Vector): [Read-Write] The scalar that will be applied to the input value.For example, if you have a scalar of (2.0, 2.0, 2.0), each input axis will be multiplied by 2.0.
Note: This will do nothing on boolean input action types, as they can only be true or false.