Navigation
API > API/Plugins > API/Plugins/MetaHumanCharacterPalette > API/Plugins/MetaHumanCharacterPalette/UMetaHumanItemEditorPipeline
Description
Builds the item based on input from the hosting Collection pipeline.
For example, the build input could be a body mesh that this item pipeline should fit clothing to.
Can only be called from a Collection or Item pipeline. Items can't be built by themselves, they need to be hosted by a Collection.
SortedPinnedSlotSelections will be filtered to only include this item and its sub-items. If this item is pinned, it will be in SortedPinnedSlotSelections.
SortedItemsToExclude will be filtered to only include sub-items of this item. If this item is excluded, BuildItem won't be called at all, so there is no need to search SortedItemsToExclude for this item.
| Name | BuildItem |
| Type | function |
| Header File | /Engine/Plugins/MetaHuman/MetaHumanCharacter/Source/MetaHumanCharacterPalette/Public/MetaHumanItemEditorPipeline.h |
| Include Path | #include "MetaHumanItemEditorPipeline.h" |
virtual void BuildItem
(
const FMetaHumanPaletteItemPath & ItemPath,
TNotNull< const UMetaHumanWardrobeItem * > WardrobeItem,
const FInstancedStruct & BuildInput,
TArrayView < const FMetaHumanPinnedSlotSelection > SortedPinnedSlotSelections,
TArrayView < const FMetaHumanPaletteItemPath > SortedItemsToExclude,
FMetaHumanPaletteBuildCacheEntry & BuildCache,
EMetaHumanCharacterPaletteBuildQuality Quality,
ITargetPlatform * TargetPlatform,
TNotNull< UObject * > OuterForGeneratedObjects,
const FOnBuildComplete & OnComplete
) const