Navigation
API > API/Plugins > API/Plugins/MassEntity
References
| Module | MassEntity |
| Header | /Engine/Plugins/Runtime/MassEntity/Source/MassEntity/Public/MassExternalSubsystemTraits.h |
| Include | #include "MassExternalSubsystemTraits.h" |
Syntax
template<typename T>
struct TMassExternalSubsystemTraits
Remarks
Traits describing how a given piece of code can be used by Mass. We require author or user of a given subsystem to define its traits. To do it add the following in an accessible location.
template<> struct TMassExternalSubsystemTraits
this will let Mass know it can access UMyCustomManager on any thread.
This information is being used to calculate processor and query dependencies as well as appropriate distribution of calculations across threads.
Specializations
TMassExternalSubsystemTraits< UMassActorSubsystem >
TMassExternalSubsystemTraits< UMassCrowdSubsystem >
TMassExternalSubsystemTraits< UMassDebuggerSubsystem >
TMassExternalSubsystemTraits< UMassLODSubsystem >
TMassExternalSubsystemTraits< UMassLWIClientActorSpawnerSubsystem >
TMassExternalSubsystemTraits< UMassLWIRepresentationSubsystem >
TMassExternalSubsystemTraits< UMassLWISubsystem >
TMassExternalSubsystemTraits< UMassNavigationSubsystem >
TMassExternalSubsystemTraits< UMassReplicationSubsystem >
TMassExternalSubsystemTraits< UMassRepresentationSubsystem >
TMassExternalSubsystemTraits< UMassSignalSubsystem >
TMassExternalSubsystemTraits< UMassStateTreeSubsystem >
TMassExternalSubsystemTraits< UMassTestEngineSubsystem >
TMassExternalSubsystemTraits< UMassTestGameInstanceSubsystem >
TMassExternalSubsystemTraits< UMassTestLocalPlayerSubsystem >
TMassExternalSubsystemTraits< UMassTestWorldSubsystem >
TMassExternalSubsystemTraits< USmartObjectSubsystem >
TMassExternalSubsystemTraits< UZoneGraphAnnotationSubsystem >
TMassExternalSubsystemTraits< UZoneGraphSubsystem >
Constants
| Name | Description |
|---|---|
| ThreadSafeRead | Note that we're not supplying a default value for this property to be able to statically catch code that tries to access given subsystem without including the appropriate headers. |
| ThreadSafeWrite |