Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Runtime/MassGameplay/Source/MassSpawner/Public/MassEntityTraitBase.h |
Include |
#include "MassEntityTraitBase.h" |
UCLASS(Abstract, BlueprintType, EditInlineNew, CollapseCategories)
class UMassEntityTraitBase : public UObject
Base class for Mass Entity Traits. An entity trait is a set of fragments that create a logical trait tha makes sense to end use (i.e. replication, visualization). The template building method allows to configure some fragments based on properties or cached values. For example, a fragment can be added based on a referenced asset, or some memory hungry settings can be cached and just and index stored on a fragment.
Name | Description | ||
---|---|---|---|
|
BuildTemplate ( |
Appends items into the entity template required for the trait. |
|
|
DestroyTemplate() |
||
|
ValidateTemplate ( |
Called when all Traits have had BuildTemplate() called. |