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] Alt: Whether the alt key is part of the chord.

  • cmd (bool): [Read-Write] Cmd: Whether the command key is part of the chord.

  • ctrl (bool): [Read-Write] Ctrl: Whether the control key is part of the chord.

  • key (Key): [Read-Write] Key: The Key is the core of the chord.

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

property alt

[Read-Write] Alt: Whether the alt key is part of the chord.

Type

(bool)

property cmd

[Read-Write] Cmd: Whether the command key is part of the chord.

Type

(bool)

property ctrl

[Read-Write] Ctrl: Whether the control key is part of the chord.

Type

(bool)

property key

[Read-Write] Key: The Key is the core of the chord.

Type

(Key)

property shift

[Read-Write] Shift: Whether the shift key is part of the chord.

Type

(bool)