Navigation
API > API/Editor > API/Editor/StructUtilsEditor > API/Editor/StructUtilsEditor/FInstancedStructDataDetails
Description
Adds groups for the specified properties. One group is created for each unique category (from property metadata) that the properties have. If a category is pipe-separated (eg, Foo|Bar), one group is added for "Foo" and another one for "Foo|Bar". In the returned map, the key is the property, and the value is the group. If the property doesn't have a group (category), then it will not have an entry in the map. Note that the property must opt-in to grouping by specifying the "EnableCategories" metadata tag.
| Name | GetPropertyGroups |
| Type | function |
| Header File | /Engine/Source/Editor/StructUtilsEditor/Public/InstancedStructDetails.h |
| Include Path | #include "InstancedStructDetails.h" |
| Source | /Engine/Source/Editor/StructUtilsEditor/Private/InstancedStructDetails.cpp |
void GetPropertyGroups
(
const TArray < TSharedPtr < IPropertyHandle > > & InProperties,
IDetailChildrenBuilder & InChildBuilder,
TMap < TSharedPtr < IPropertyHandle >, IDetailGroup * > & OutPropertyToGroup
) const