unreal.ModifyContextOptions

class unreal.ModifyContextOptions(ignore_all_pressed_keys_until_release=True, force_immediately=False)

Bases: unreal.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] Force Immediately: 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] Ignore All Pressed Keys Until Release: If true than any keys that are pressed during the rebuild of control mappings will be ignored until they are released.

property force_immediately

[Read-Write] Force Immediately: 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

[Read-Write] Ignore All Pressed Keys Until Release: If true than any keys that are pressed during the rebuild of control mappings will be ignored until they are released.

Type

(bool)