UMassEntitySubsystem::DoEntityCompaction

Go through all archetypes and compact entities

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 DoEntityCompaction
(
    const double TimeAllowed
)

Remarks

Go through all archetypes and compact entities

Parameters

Parameter

Description

TimeAllowed

to do entity compaction, once it reach that time it will stop and return