unreal.CommonMappingContextMetadata

class unreal.CommonMappingContextMetadata(outer: Object | None = None, name: Name | str = 'None')

Bases: DataAsset

Base CommonUI metadata implementation for specification in IMC’s.

Utilizes a map of input actions to metadata to prevent users from having to create multiple metadata assets / instances. Using this map is not mandatory.

C++ Source:

  • Plugin: CommonUI

  • Module: CommonUI

  • File: CommonUITypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • enhanced_input_metadata (CommonInputMetadata): [Read-Write] Fallback or default metadata CommonUI relies on if no per-action meta is found below

  • per_action_enhanced_input_metadata (Map[InputAction, CommonInputMetadata]): [Read-Write] Map of action to metadata, allows creation of single metadata asset rather than one per input action type

property enhanced_input_metadata: CommonInputMetadata

[Read-Only] Fallback or default metadata CommonUI relies on if no per-action meta is found below

Type:

(CommonInputMetadata)

property per_action_enhanced_input_metadata: None

[Read-Only] Map of action to metadata, allows creation of single metadata asset rather than one per input action type

Type:

(Map[InputAction, CommonInputMetadata])