unreal.InputModifierSwizzleAxis

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

Bases: unreal.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] Order: Default to XY swap, useful for binding 1D inputs to the Y axis.

property order

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

Type

(InputAxisSwizzle)