Navigation
API > API/Runtime > API/Runtime/MassEntity > API/Runtime/MassEntity/FMassDebugger
Description
Registers the given ProviderFunction with the existing FEnvironment associated with the provided EntityManager. If one doesn't exist yet, it will be created (i.e. will automatically call RegisterEntityManager() with the provided EntityManager). The function will be called during data collection for the given FEnvironment. NOTE: there's no UnregisterProcessorDataProvider, the registered providers will automatically get removed along with the rest of the data associated with the relevant EntityManager as part of UnregisterEntityManager call.
| Name | RegisterProcessorDataProvider |
| Type | function |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassDebugger.h |
| Include Path | #include "MassDebugger.h" |
| Source | /Engine/Source/Runtime/MassEntity/Private/MassDebugger.cpp |
static void RegisterProcessorDataProvider
(
FName ProviderName,
const TSharedRef < FMassEntityManager > & EntityManager,
const UE::Mass::Debug::FProcessorProviderFunction & ProviderFunction
)