UMassEntitySubsystem::AddCompositionToEntity_GetDelta

Adds fragments and tags indicated by InOutDescriptor to the Entity.

Choose your operating system:

Windows

macOS

Linux

References

Module

MassEntity

Header

/Engine/Plugins/Runtime/MassEntity/Source/MassEntity/Public/MassEntitySubsystem.h

Include

#include "MassEntitySubsystem.h"

Source

/Engine/Plugins/Runtime/MassEntity/Source/MassEntity/Private/MassEntitySubsystem.cpp

Syntax

void AddCompositionToEntity_GetDelta
(
    FMassEntityHandle Entity,
    FMassArchetypeCompositionDescriptor & InOutDescriptor
)

Remarks

Adds fragments and tags indicated by InOutDescriptor to the Entity. The function also figures out which elements in InOutDescriptor are missing from the current composition of the given entity and then returns the resulting delta via InOutDescriptor.