unreal.ModifyContextOptions

class unreal.ModifyContextOptions(ignore_all_pressed_keys_until_release: bool = False, force_immediately: bool = False)

Bases: StructBase

Passed in as params for Adding/Remove input contexts

C++ Source:

  • Plugin: EnhancedInput

  • Module: EnhancedInput

  • File: EnhancedInputSubsystemInterface.h

Editor Properties: (see get_editor_property/set_editor_property)

  • force_immediately (bool): [Read-Write] The mapping changes will be applied synchronously, rather than at the end of the frame, making them available to the input system on the same frame.

  • ignore_all_pressed_keys_until_release (bool): [Read-Write] If true then any keys that are pressed during the rebuild of control mappings will be ignored until they are released.

property force_immediately: bool

[Read-Write] The mapping changes will be applied synchronously, rather than at the end of the frame, making them available to the input system on the same frame.

Type:

(bool)

property ignore_all_pressed_keys_until_release: bool

[Read-Write] If true then any keys that are pressed during the rebuild of control mappings will be ignored until they are released.

Type:

(bool)