Navigation
API > API/Runtime > API/Runtime/MassEntity
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.
| Name | TMassExternalSubsystemTraits |
| Type | struct |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassExternalSubsystemTraits.h |
| Include Path | #include "MassExternalSubsystemTraits.h" |
Syntax
template<typename T>
struct TMassExternalSubsystemTraits
Struct Specializations
Enums
Public
| Name | Remarks |
|---|---|
| TMassExternalSubsystemTraits |