Navigation
API > API/Plugins > API/Plugins/CommonUI
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UDataAsset
- UCommonMappingContextMetadata
References
Module | CommonUI |
Header | /Engine/Plugins/Runtime/CommonUI/Source/CommonUI/Public/CommonUITypes.h |
Include | #include "CommonUITypes.h" |
Syntax
UCLASS&40;BlueprintType&41;
class UCommonMappingContextMetadata :
public UDataAsset,
public ICommonMappingContextMetadataInterface
Remarks
BaseCommonUI 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.
Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() ![]() ![]() |
TObjectPtr< UCommonInputMetadata > | EnhancedInputMetadata | Fallback or default metadata CommonUI relies on if no per-action meta is found below |
![]() ![]() ![]() ![]() ![]() |
TMap< TObjectPtr< UInputAction >, TObjectPtr< const UCommonInputMetadata > > | PerActionEnhancedInputMetadata | Map of action to metadata, allows creation of single metadata asset rather than one per input action type |
Overridden from ICommonMappingContextMetadataInterface
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
const UCommonInputMetadata * | GetCommonInputMetadata
(
const UInputAction* InInputAction |
Gets base info needed from CommonUI from this IMC metadata Accepts InputAction as an arg to allow for user to create one metadata with multiple values per action, rather than having to create one metadata asset per unique value |