UMassEntitySubsystem::DestroyEntity

Destroys a fully built entity, use ReleaseReservedEntity if entity was not yet built.

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 DestroyEntity
(
    FMassEntityHandle Entity
)

Remarks

Destroys a fully built entity, use ReleaseReservedEntity if entity was not yet built.

Parameters

Parameter

Description

Entity

to destroy