Перейти к контенту
Медиа 1 для объявления Struct Category Groups

Описание

WHY:


In panels like Details or the DataTable row editor, Unreal ignores Category = "..." grouping for UPROPERTY members inside a nested C++ struct — everything renders as one flat list instead of collapsible groups. The usual workaround is splitting fields into nested sub-structs, but that only groups one layer deep and isn't always desirable.

Struct Category Groups restores real N-layers-deep grouping from your existing Category metadata, so you can avoid nested structs when you don't actually need them.

NOTE: This plugin is for C++ structs only. See documentation for further explanation.

---

HOW TO USE:

  • Add meta = (UseCategoryGroups) to the struct declaration itself: USTRUCT(..., meta = (UseCategoryGroups)).

  • Use Category = "Foo" on your UPROPERTY fields as normal. Use | for sub-groups, e.g. Category = "Foo|Bar". Nest as deep as you like.

  • Right click on the category in the Unreal editor to choose a color from your own set color palette. Set the category style in the project settings.

    • The struct itself can be colored as well.

---

Documentation Link: https://drive.google.com/file/d/1w0URygjVSPTPP9EdlUH2l4U3_g2oVuj2/view?usp=sharing

Contact: [email protected] (please begin email subject with [FAB]).

Включённые форматы