UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FMassCommandAddFragmentInstances< TOthers > Struct Template Reference

#include <MassCommands.h>

+ Inheritance diagram for FMassCommandAddFragmentInstances< TOthers >:

Public Types

using Super = FMassBatchedEntityCommand
 
- Public Types inherited from FMassBatchedEntityCommand
using Super = FMassBatchedCommand
 

Public Member Functions

 FMassCommandAddFragmentInstances (EMassCommandOperationType OperationType=EMassCommandOperationType::Set DEBUG_NAME_PARAM("AddFragmentInstanceList"))
 
void Add (FMassEntityHandle Entity, TOthers... InFragments)
 
- Public Member Functions inherited from FMassBatchedEntityCommand
 FMassBatchedEntityCommand ()=default
 
 FMassBatchedEntityCommand (EMassCommandOperationType OperationType DEBUG_NAME_PARAM("BatchedEntityCommand"))
 
void Add (FMassEntityHandle Entity)
 
void Add (TConstArrayView< FMassEntityHandle > Entities)
 
void Add (TArray< FMassEntityHandle > &&Entities)
 
- Public Member Functions inherited from FMassBatchedCommand
 FMassBatchedCommand ()=default
 
 FMassBatchedCommand (EMassCommandOperationType OperationType)
 
virtual ~FMassBatchedCommand ()
 
virtual void Execute (FMassEntityManager &EntityManager) const
 
bool HasWork () const
 
EMassCommandOperationType GetOperationType () const
 

Protected Member Functions

virtual void Reset () override
 
virtual SIZE_T GetAllocatedSize () const override
 
virtual void Run (FMassEntityManager &EntityManager) override
 
- Protected Member Functions inherited from FMassBatchedEntityCommand
 UE_MT_DECLARE_TS_RW_ACCESS_DETECTOR (EntitiesAccessDetector)
 

Protected Attributes

UE::Mass::TMultiArray< TOthers... > Fragments
 
const FMassFragmentBitSet FragmentsAffected
 
- Protected Attributes inherited from FMassBatchedEntityCommand
TArray< FMassEntityHandleTargetEntities
 
- Protected Attributes inherited from FMassBatchedCommand
bool bHasWork = false
 
EMassCommandOperationType OperationType = EMassCommandOperationType::None
 

Additional Inherited Members

- Static Public Member Functions inherited from FMassBatchedCommand
template<typename T >
static UE_AUTORTFM_ALWAYS_OPEN uint32 GetCommandIndex ()
 

Member Typedef Documentation

◆ Super

template<typename... TOthers>
using FMassCommandAddFragmentInstances< TOthers >::Super = FMassBatchedEntityCommand

Constructor & Destructor Documentation

◆ FMassCommandAddFragmentInstances()

Member Function Documentation

◆ Add()

template<typename... TOthers>
void FMassCommandAddFragmentInstances< TOthers >::Add ( FMassEntityHandle  Entity,
TOthers...  InFragments 
)
inline

◆ GetAllocatedSize()

template<typename... TOthers>
virtual SIZE_T FMassCommandAddFragmentInstances< TOthers >::GetAllocatedSize ( ) const
inlineoverrideprotectedvirtual

Reimplemented from FMassBatchedEntityCommand.

◆ Reset()

template<typename... TOthers>
virtual void FMassCommandAddFragmentInstances< TOthers >::Reset ( )
inlineoverrideprotectedvirtual

Reimplemented from FMassBatchedEntityCommand.

◆ Run()

template<typename... TOthers>
virtual void FMassCommandAddFragmentInstances< TOthers >::Run ( FMassEntityManager EntityManager)
inlineoverrideprotectedvirtual

Reimplemented from FMassBatchedCommand.

Reimplemented in FMassCommandBuildEntity< TOthers >.

Member Data Documentation

◆ Fragments

template<typename... TOthers>
UE::Mass::TMultiArray<TOthers...> FMassCommandAddFragmentInstances< TOthers >::Fragments
mutableprotected

◆ FragmentsAffected

template<typename... TOthers>
const FMassFragmentBitSet FMassCommandAddFragmentInstances< TOthers >::FragmentsAffected
protected

The documentation for this struct was generated from the following file: