Navigation
API > API/Runtime > API/Runtime/MassEntity
| Name | FMassDebugger |
| Type | struct |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassDebugger.h |
| Include Path | #include "MassDebugger.h" |
Syntax
struct FMassDebugger
Structs
| Name | Remarks |
|---|---|
| FEnvironment |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| ActiveEnvironments | TArray< FEnvironment > | MassDebugger.h | |
| bHasBreakpoint | bool | MassDebugger.h | |
| EntityManagerRegistrationLock | UE::FSpinLock | MassDebugger.h | |
| FragmentsByName | TMap< FName, const UScriptStruct * > | MassDebugger.h | |
| OnBreakpointsChangedDelegate | FOnBreakpointsChanged | MassDebugger.h | |
| OnDebugEvent | FOnDebugEvent | MassDebugger.h | |
| OnEntityManagerDeinitialized | FOnMassEntityManagerEvent | MassDebugger.h | |
| OnEntityManagerInitialized | FOnMassEntityManagerEvent | MassDebugger.h | |
| OnEntitySelectedDelegate | FOnEntitySelected | MassDebugger.h | |
| OnProcessorProviderRegistered | FOnEnvironmentEvent | MassDebugger.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
DECLARE_TS_MULTICAST_DELEGATE
(
FOnBreakpointsChanged |
MassDebugger.h | ||
DECLARE_TS_MULTICAST_DELEGATE_OneParam
(
FOnEnvironmentEvent, |
MassDebugger.h | ||
DECLARE_TS_MULTICAST_DELEGATE_OneParam
(
FOnMassEntityManagerEvent, |
MassDebugger.h | ||
DECLARE_TS_MULTICAST_DELEGATE_ThreeParams
(
FOnDebugEvent, |
MassDebugger.h | ||
DECLARE_TS_MULTICAST_DELEGATE_TwoParams
(
FOnEntitySelected, |
MassDebugger.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void BreakOnFragmentWriteForSelectedEntity
(
FName FragmentName |
Sets a write breakpoint for the specified fragment on the selcected entity | MassDebugger.h | |
static void ClearAllBreakpoints() |
Clears all breakpoints in all environments. | MassDebugger.h | |
static void ClearAllEntityBreakpoints
(
const FMassEntityManager& EntityManager, |
Clears all breakpoints set for a given entity. | MassDebugger.h | |
static void ClearAllFragmentWriteBreak
(
const FMassEntityManager& EntityManager, |
Clears all write breakpoints set for a given fragment type. | MassDebugger.h | |
static void ClearAllProcessorBreakpoints
(
const FMassEntityManager& EntityManager, |
Clears all breakpoints set for a given processor. | MassDebugger.h | |
static void ClearFragmentWriteBreak
(
const FMassEntityManager& EntityManager, |
Clears a fragment write breakpoint for a given fragment type and entity. | MassDebugger.h | |
static void ClearProcessorBreakpoint
(
const FMassEntityManager& EntityManager, |
Clears a breakpoint triggered on processor execute for an entity. | MassDebugger.h | |
static void DebugEvent
(
const FName EventName, |
MassDebugger.h | ||
static void DebugEvent
(
TArgs&&... InArgs |
MassDebugger.h | ||
static bool DoesArchetypeMatchRequirements
(
const FMassArchetypeHandle& ArchetypeHandle, |
Determines whether given Archetype matches given Requirements. | MassDebugger.h | |
static void EnumerateChunks
(
const FMassArchetypeData& Archetype, |
MassDebugger.h | ||
static FEnvironment * FindEnvironmentForEntityManager
(
const FMassEntityManager& EntityManager |
MassDebugger.h | ||
static void ForEachArchetype
(
const FMassEntityManager& EntityManager, |
MassDebugger.h | ||
static FEnvironment & GetActiveEnvironment
(
const FMassEntityManager& EntityManager |
MassDebugger.h | ||
static TArray< FMassArchetypeHandle > GetAllArchetypes
(
const FMassEntityManager& EntityManager |
MassDebugger.h | ||
static const FMassArchetypeCompositionDescriptor & GetArchetypeComposition
(
const FMassArchetypeHandle& ArchetypeHandle |
MassDebugger.h | ||
static const FMassArchetypeData * GetArchetypeData
(
const FMassArchetypeHandle& ArchetypeHandle |
MassDebugger.h | ||
static const TConstArrayView< FName > GetArchetypeDebugNames
(
const FMassArchetypeHandle& ArchetypeHandle |
MassDebugger.h | ||
static void GetArchetypeEntityStats
(
const FMassArchetypeHandle& ArchetypeHandle, |
MassDebugger.h | ||
static FString GetArchetypeRequirementCompatibilityDescription
(
const FMassFragmentRequirements& Requirements, |
MassDebugger.h | ||
static FString GetArchetypeRequirementCompatibilityDescription
(
const FMassFragmentRequirements& Requirements, |
MassDebugger.h | ||
static uint64 GetArchetypeTraceID
(
const FMassArchetypeData& ArchetypeData |
MassDebugger.h | ||
static uint64 GetArchetypeTraceID
(
const FMassArchetypeHandle& ArchetypeHandle |
MassDebugger.h | ||
static TSharedPtr< FStructOnScope > GetConstSharedFragmentData
(
const FMassEntityManager& EntityManager, |
Finds the const shared fragment data of the specified type in the entity data. | MassDebugger.h | |
static bool GetConstSharedFragmentData
(
const FMassEntityManager& EntityManager, |
Finds the const shared fragment data of the specified type in the entity data. | MassDebugger.h | |
static TArray< FMassEntityHandle > GetEntitiesMatchingQuery
(
const FMassEntityManager& EntityManager, |
MassDebugger.h | ||
static TArray< FMassEntityHandle > GetEntitiesOfArchetype
(
const FMassArchetypeHandle& ArchetypeHandle |
MassDebugger.h | ||
static TConstArrayView< FMassEntityHandle > GetEntitiesViewOfArchetype
(
const FMassArchetypeData& ArchetypeData, |
MassDebugger.h | ||
static TConstArrayView< FEnvironment > GetEnvironments() |
MassDebugger.h | ||
static bool GetFragmentData
(
const FMassEntityManager& EntityManager, |
Finds the fragment data of the specified type in the entity data. Returns false if not found. | MassDebugger.h | |
static TSharedPtr< FStructOnScope > GetFragmentData
(
const FMassEntityManager& EntityManager, |
Finds the fragment data of the specified type in the entity data. Returns nullptr if not found. | MassDebugger.h | |
static const UScriptStruct * GetFragmentTypeFromName
(
FName FragmentName |
Gets the UScriptStruct type for fragment of the specified name. | MassDebugger.h | |
static FMassEntityHandle GetHighlightedEntity
(
const FMassEntityManager& EntityManager |
MassDebugger.h | ||
static TConstArrayView< TObjectPtr< UMassProcessor > > GetHostedProcessors
(
const UMassCompositeProcessor& GraphOwner |
MassDebugger.h | ||
static TConstArrayView< UMassCompositeProcessor::FDependencyNode > GetProcessingGraph
(
const UMassCompositeProcessor& GraphOwner |
MassDebugger.h | ||
static TConstArrayView< FMassEntityQuery * > GetProcessorQueries
(
const UMassProcessor& Processor |
MassDebugger.h | ||
static void GetQueryExecutionRequirements
(
const FMassEntityQuery& Query, |
MassDebugger.h | ||
static UE::Mass::Debug::FQueryRequirementsView GetQueryRequirements
(
const FMassEntityQuery& Query |
MassDebugger.h | ||
static FString GetRequirementsDescription
(
const FMassFragmentRequirements& Requirements |
MassDebugger.h | ||
static FMassEntityHandle GetSelectedEntity
(
const FMassEntityManager& EntityManager |
MassDebugger.h | ||
static bool GetSharedFragmentData
(
const FMassEntityManager& EntityManager, |
Finds the shared fragment data of the specified type in the entity data. | MassDebugger.h | |
static TSharedPtr< FStructOnScope > GetSharedFragmentData
(
const FMassEntityManager& EntityManager, |
Finds the shared fragment data of the specified type in the entity data. | MassDebugger.h | |
static const FMassArchetypeSharedFragmentValues & GetSharedFragmentValues
(
const FMassEntityManager& EntityManager, |
Get the shared fragment value container for this entity | MassDebugger.h | |
static FString GetSingleRequirementDescription
(
const FMassFragmentRequirementDescription& Requirement |
MassDebugger.h | ||
static TConstArrayView< FMassEntityQuery * > GetUpToDateProcessorQueries
(
const FMassEntityManager& EntityManager, |
Fetches all queries registered for given Processor. | MassDebugger.h | |
static bool HasAnyFragmentWriteBreakpoints
(
const FMassEntityManager& EntityManager, |
Checks if there are any breakpoints set for writing a fragment for any entity Use FragmentType = nullptr (default) to check for ANY fragment types. | MassDebugger.h | |
static bool HasAnyProcessorBreakpoints
(
const FMassEntityManager& EntityManager, |
Checks if a processor has any breakpoints set for any entity. | MassDebugger.h | |
static void HighlightEntity
(
const FMassEntityManager& EntityManager, |
MassDebugger.h | ||
static void OutputArchetypeDescription
(
FOutputDevice& Ar, |
MassDebugger.h | ||
static void OutputEntityDescription
(
FOutputDevice& Ar, |
MassDebugger.h | ||
static void OutputEntityDescription
(
FOutputDevice& Ar, |
MassDebugger.h | ||
static int32 RegisterEntityManager
(
FMassEntityManager& EntityManager |
Registers given EntityManager with the debugger, creating a new entry in ActiveEnvironments. | MassDebugger.h | |
static void RegisterProcessorDataProvider
(
FName ProviderName, |
Registers the given ProviderFunction with the existing FEnvironment associated with the provided EntityManager. | MassDebugger.h | |
static void SelectEntity
(
const FMassEntityManager& EntityManager, |
MassDebugger.h | ||
static void SetFragmentWriteBreak
(
const FMassEntityManager& EntityManager, |
Sets a break to be triggered for a processor that's about to write a given fragment on an entity. | MassDebugger.h | |
static void SetProcessorBreakpoint
(
const FMassEntityManager& EntityManager, |
Sets a break to be triggered on processor execute for an entity. | MassDebugger.h | |
static bool ShouldBreakOnFragmentWrite
(
const FMassEntityManager& EntityManager, |
Checks if a break should be triggered for a processor that's about to write a given fragment on an entity. | MassDebugger.h | |
static bool ShouldProcessorBreak
(
const FMassEntityManager& EntityManager, |
Checks if a processor should break on execute for a given entity. | MassDebugger.h | |
static void UnregisterEntityManager
(
FMassEntityManager& EntityManager |
MassDebugger.h | ||
static void UpdateHasBreakpoint() |
MassDebugger.h |