unreal.ModifyContextOptions

class unreal.ModifyContextOptions(ignore_all_pressed_keys_until_release: bool = False, force_immediately: bool = False, notify_user_settings: 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.

  • notify_user_settings (bool): [Read-Write] If true, then this Mapping Context will be registered or unregistered with the Enhanced Input User Settings on this subsystem, if they exist.

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)

property notify_user_settings: bool

[Read-Write] If true, then this Mapping Context will be registered or unregistered with the Enhanced Input User Settings on this subsystem, if they exist.

Type:

(bool)