UMassEntitySubsystem::CreateEntity

Creates fully built entity ready to be used by the subsystem

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

FMassEntityHandle CreateEntity
(
    const FArchetypeHandle Archetype
)

Remarks

Creates fully built entity ready to be used by the subsystem

Returns

FMassEntityHandle id of the newly created entity

Parameters

Parameter

Description

Archetype

you want this entity to be