Navigation
API > API/Plugins > API/Plugins/MeshPartitionEditor
Registry for managing collections of modifier groups within mesh partition workflows.
This class maintains both a committed set of groups and a staged set that allows modifications to be previewed or accumulated before being finalized.
Typical usage flow:
- StageGroup() to prepare a new or modified group.
- CommitStagedGroup() to move it into the persistent registry.
- RevertStagedGroup() to discard staged changes.
- RemoveGroup() to fully delete a committed group.
| Name | FModifierGroupRegistry |
| Type | class |
| Header File | /Engine/Plugins/Experimental/MeshPartition/Source/MeshPartitionEditor/Public/MeshPartitionGroupRegistry.h |
| Include Path | #include "MeshPartitionGroupRegistry.h" |
Syntax
class FModifierGroupRegistry
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FGroupKeyToGroup | TMap< FGuid, MeshPartition::FModifierGroup > | MeshPartitionGroupRegistry.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Groups | FGroupKeyToGroup | MeshPartitionGroupRegistry.h | ||
| StagedGroups | FGroupKeyToGroup | MeshPartitionGroupRegistry.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool CommitStagedGroup
(
const FGuid& InGroupKey |
Moves a staged group into the committed collection. | MeshPartitionGroupRegistry.h | |
const MeshPartition::FModifierGroup * FindGroup
(
const FGuid& InKey |
Finds a committed group by its key. | MeshPartitionGroupRegistry.h | |
TArray< MeshPartition::FModifierGroup > FindGroupsContainingModifiers
(
TConstArrayView< MeshPartition::FModifierDesc > InModifiers |
Searches for groups containing the given set of modifiers. | MeshPartitionGroupRegistry.h | |
TArray< MeshPartition::FModifierGroup > FindGroupsIntersectingBounds
(
TConstArrayView< const FBox > InBounds |
Searches for groups intersecting the provided bounds. | MeshPartitionGroupRegistry.h | |
const MeshPartition::FModifierGroup * FindStagedGroup
(
const FGuid& InKey |
Finds a staged group by its key. | MeshPartitionGroupRegistry.h | |
const FGroupKeyToGroup & GetGroups() |
MeshPartitionGroupRegistry.h | ||
const FGroupKeyToGroup & GetStagedGroups() |
MeshPartitionGroupRegistry.h | ||
void RemoveGroup
(
const FGuid& InGroupKey |
Removes a committed group from the registry. | MeshPartitionGroupRegistry.h | |
void Reset () |
Clears both committed and staged groups. | MeshPartitionGroupRegistry.h | |
void Reset
(
TConstArrayView< const MeshPartition::FModifierGroup > InModifierGroups |
Resets the modifier group registry with a predefined set of groups. | MeshPartitionGroupRegistry.h | |
bool RevertStagedGroup
(
const FGuid& InGroupKey |
Discards a staged group without committing it. | MeshPartitionGroupRegistry.h | |
FGuid StageGroup
(
const MeshPartition::FModifierGroup& InGroup |
Adds a group to the staged collection, pending commit. | MeshPartitionGroupRegistry.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FGuid GetGroupRegistryKey
(
const MeshPartition::FModifierGroup& InGroup |
Generates a unique registry key for the given group based on its contents. | MeshPartitionGroupRegistry.h |