unreal.InputModifierSwizzleAxis

class unreal.InputModifierSwizzleAxis(outer: Object | None = None, name: Name | str = 'None')

Bases: InputModifier

Swizzle axis components of an input value. Useful to map a 1D input onto the Y axis of a 2D action.

C++ Source:

  • Plugin: EnhancedInput

  • Module: EnhancedInput

  • File: InputModifiers.h

Editor Properties: (see get_editor_property/set_editor_property)

  • order (InputAxisSwizzle): [Read-Write] Default to XY swap, useful for binding 1D inputs to the Y axis.

property order: InputAxisSwizzle

[Read-Write] Default to XY swap, useful for binding 1D inputs to the Y axis.

Type:

(InputAxisSwizzle)