unreal.KeyBind¶
- class unreal.KeyBind¶
Bases:
StructBaseStruct containing mappings for legacy method of binding keys to exec commands.
C++ Source:
Module: Engine
File: PlayerInput.h
Editor Properties: (see get_editor_property/set_editor_property)
alt(bool): [Read-Write] Whether the alt key needs to be held when the key event occurscmd(bool): [Read-Write] Whether the command key needs to be held when the key event occurscommand(str): [Read-Write] The command to execute when the key is pressed/releasedcontrol(bool): [Read-Write] Whether the control key needs to be held when the key event occursignore_alt(bool): [Read-Write] Whether the alt key must not be held when the key event occursignore_cmd(bool): [Read-Write] Whether the command key must not be held when the key event occursignore_ctrl(bool): [Read-Write] Whether the control key must not be held when the key event occursignore_shift(bool): [Read-Write] Whether the shift key must not be held when the key event occurskey(Key): [Read-Write] The key to be bound to the commandshift(bool): [Read-Write] Whether the shift key needs to be held when the key event occurs