Navigation
API > API/Plugins > API/Plugins/MetaHumanCharacterPalette > API/Plugins/MetaHumanCharacterPalette/FMetaHumanPaletteItemPath
Description
Returns true if this path is equal to the other path, or is a child path of it.
This is useful when filtering a list of item paths to include only paths that relate to a particular item and its sub-items.
For example, given a list of item paths, if the expression X.IsEqualOrChildPathOf(ItemToFilter) returns true for a path X from the list, it's either ItemToFilter itself or one of its sub-items (or sub-sub-items, etc).
| Name | IsEqualOrChildPathOf |
| Type | function |
| Header File | /Engine/Plugins/MetaHuman/MetaHumanCharacter/Source/MetaHumanCharacterPalette/Public/MetaHumanPaletteItemPath.h |
| Include Path | #include "MetaHumanPaletteItemPath.h" |
| Source | /Engine/Plugins/MetaHuman/MetaHumanCharacter/Source/MetaHumanCharacterPalette/Private/MetaHumanPaletteItemPath.cpp |
bool IsEqualOrChildPathOf
(
const FMetaHumanPaletteItemPath & ParentPath
) const