unreal.InputChord

class unreal.InputChord(key=[], shift=False, ctrl=False, alt=False, cmd=False)

Bases: unreal.StructBase

An Input Chord is a key and the modifier keys that are to be held with it.

C++ Source:

  • Module: Slate
  • File: InputChord.h

Editor Properties: (see get_editor_property/set_editor_property)

  • alt (bool): [Read-Write] Whether the alt key is part of the chord.
  • cmd (bool): [Read-Write] Whether the command key is part of the chord.
  • ctrl (bool): [Read-Write] Whether the control key is part of the chord.
  • key (Key): [Read-Write] The Key is the core of the chord.
  • shift (bool): [Read-Write] Whether the shift key is part of the chord.
alt

(bool) – [Read-Write] Whether the alt key is part of the chord.

cmd

(bool) – [Read-Write] Whether the command key is part of the chord.

ctrl

(bool) – [Read-Write] Whether the control key is part of the chord.

key

(Key) – [Read-Write] The Key is the core of the chord.

shift

(bool) – [Read-Write] Whether the shift key is part of the chord.