Widget Tab Identifiers
- Base:
- struct
- Type:
- FNWidgetTabIdentifiers
- Header File:
- NexusUIEditor/Public/NWidgetTabIdentifiers.h
A parallel-arrays map of widget identifier to host tab identifier. Stored in the NexusUserSettings config so that UNEditorUtilityWidget instances can be restored into the same docked tab across editor sessions. The two arrays are kept index-aligned by UNEditorUtilityWidgetSubsystem, which is the only code that should mutate them directly.
Layout​
USTRUCT(BlueprintType)
struct FNWidgetTabIdentifiers
{
/** Widget identifiers (UNEditorUtilityWidget::UniqueIdentifier); parallel to TabIdentifier. */
UPROPERTY()
TArray<FName> WidgetIdentifiers;
/** Tab identifiers last used to host each widget; parallel to WidgetIdentifiers. */
UPROPERTY()
TArray<FName> TabIdentifier;
};
The struct itself is intentionally minimal — all reads and writes go through the get / set / remove helpers on UNEditorUtilityWidgetSubsystem, which keep the two arrays in sync.
info
The same parallel-array shape used here and in FNWidgetStateSnapshot is chosen so that UPROPERTY(config) serialization stays simple and the on-disk format remains readable across versions of the engine.