unreal.InputChord

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

Bases: 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: bool

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

Type:

(bool)

property cmd: bool

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

Type:

(bool)

property ctrl: bool

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

Type:

(bool)

property key: Key

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

Type:

(Key)

property shift: bool

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

Type:

(bool)