Navigation
API > API/Plugins > API/Plugins/MassEntity > API/Plugins/MassEntity/UMassCompositeProcessor
References
| Module | MassEntity |
| Header | /Engine/Plugins/Runtime/MassEntity/Source/MassEntity/Public/MassProcessor.h |
| Include | #include "MassProcessor.h" |
| Source | /Engine/Plugins/Runtime/MassEntity/Source/MassEntity/Private/MassProcessor.cpp |
UMassCompositeProcessor &42; FindOrAddGroupProcessor
&40;
FName RequestedGroupName,
FString &42; OutRemainingGroupName
&41;
Remarks
RequestedGroupName can indicate a multi-level group name, like so: A.B.C We need to extract the highest-level group name ('A' in the example), and see if it already exists. If not, create it.
Parameters
| Name | Description |
|---|---|
| RequestedGroupName | name of the group for which we want to find or create the processor. |
| OutRemainingGroupName | contains the group name after cutting the high-level group. In the used example it will contain "B.C". This value is then used to recursively create subgroups |