Navigation
API > API/Plugins > API/Plugins/MetaHumanCharacterPalette > API/Plugins/MetaHumanCharacterPalette/UMetaHumanCharacterPalette
Description
Called by TryAddItemFromWardrobeItem when TestWardrobeItemCompatibilityWithSlot returns Import.
Subclasses that support importing Wardrobe Items with alternative pipelines should override this to delegate to their Collection Editor Pipeline's TryCreateItemForImport.
Derived Overrides
| Name | TryImportWardrobeItem |
| Type | function |
| Header File | /Engine/Plugins/MetaHuman/MetaHumanCharacter/Source/MetaHumanCharacterPalette/Public/MetaHumanCharacterPalette.h |
| Include Path | #include "MetaHumanCharacterPalette.h" |
| Source | /Engine/Plugins/MetaHuman/MetaHumanCharacter/Source/MetaHumanCharacterPalette/Private/MetaHumanCharacterPalette.cpp |
virtual bool TryImportWardrobeItem
(
FName SlotName,
TNotNull< const UMetaHumanWardrobeItem * > SourceWardrobeItem,
FMetaHumanPaletteItemKey & OutNewItemKey
)
true if the item was imported and added to the palette