unreal.InputModifierCollection

class unreal.InputModifierCollection(outer=None, name='None')

Bases: unreal.InputModifier

Modifier collection A user definable group of modifiers that can be easily applied to multiple actions or mappings to save duplication work.

C++ Source:

  • Plugin: EnhancedInput

  • Module: EnhancedInput

  • File: InputModifiers.h

Editor Properties: (see get_editor_property/set_editor_property)

  • modifiers (Array(InputModifier)): [Read-Write] Modifiers

  • permit_value_type_modification (bool): [Read-Write] Permit Value Type Modification: If set each modifier will not have the modified value corrected to the base type before execution.

    After all modifiers are run the resulting value will be converted back to the action’s value type as with any other modifier. This allows for complex sets of conditional modifiers that can alter their behavior based on their predecessors value type. Note that this is an advanced feature and may cause issues if used with the basic modifier implementations.

property modifiers

[Read-Write] Modifiers

Type

(Array(InputModifier))

property permit_value_type_modification

[Read-Write] Permit Value Type Modification: If set each modifier will not have the modified value corrected to the base type before execution.

After all modifiers are run the resulting value will be converted back to the action’s value type as with any other modifier. This allows for complex sets of conditional modifiers that can alter their behavior based on their predecessors value type. Note that this is an advanced feature and may cause issues if used with the basic modifier implementations.

Type

(bool)