TSparseArray::Compact

Compacts the allocated elements into a contiguous index range.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/SparseArray.h

Include

#include "Containers/SparseArray.h"

Syntax

bool Compact()

Remarks

Compacts the allocated elements into a contiguous index range. Returns true if any elements were relocated, false otherwise.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss