unreal.MassEntityTraitBase

class unreal.MassEntityTraitBase(outer: Object | None = None, name: Name | str = 'None')

Bases: Object

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.

C++ Source:

  • Plugin: MassGameplay

  • Module: MassSpawner

  • File: MassEntityTraitBase.h