Navigation
API > API/Plugins > API/Plugins/MetaHumanCharacterPalette > API/Plugins/MetaHumanCharacterPalette/UMetaHumanItemPipeline
Description
Returns true if the given slot selections are a permitted combination.
This allows the pipeline to restrict Instances to selecting items that are compatible with each other using any arbitary logic.
As with AssembleItem, SlotSelections and ItemBuiltData will only contain entries relating to this item and its sub-items.
If AreSlotSelectionsAllowed returns false, the text assigned to OutDisallowedReason may be shown to the user to explain why this combination is not allowed.
The order of elements in SlotSelections must not affect the return value of this function. It may affect OutDisallowedReason, for example if there are multiple reasons why the selection is not allowed.
| Name | AreSlotSelectionsAllowed |
| Type | function |
| Header File | /Engine/Plugins/MetaHuman/MetaHumanCharacter/Source/MetaHumanCharacterPalette/Public/MetaHumanItemPipeline.h |
| Include Path | #include "MetaHumanItemPipeline.h" |
| Source | /Engine/Plugins/MetaHuman/MetaHumanCharacter/Source/MetaHumanCharacterPalette/Private/MetaHumanItemPipeline.cpp |
virtual bool AreSlotSelectionsAllowed
(
const FMetaHumanPaletteItemPath & BaseItemPath,
TArrayView < const FMetaHumanPipelineSlotSelection > SlotSelections,
const FMetaHumanPaletteBuiltData & ItemBuiltData,
FText & OutDisallowedReason
) const