Navigation
API > API/Runtime > API/Runtime/MassEntity > API/Runtime/MassEntity/FMassExecutionContext
Description
Validates creation request by the active FMassEntityCreationRequirements and creates an entity of the declared archetype. Will assert on validation failure.
| Name | CreateEntity |
| Type | function |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassExecutionContext.h |
| Include Path | #include "MassExecutionContext.h" |
| Source | /Engine/Source/Runtime/MassEntity/Private/MassExecutionContext.cpp |
FMassEntityHandle CreateEntity
(
const FMassArchetypeHandle & ArchetypeHandle,
const FMassArchetypeSharedFragmentValues & SharedFragmentValues
)