template<
typename ValueType,
typename KeyFuncs>
class UE::Landscape::Private::T2DIndexer< ValueType, KeyFuncs >
WITH_EDITOR.
Helper class to transform a list of values into a 2D array. This is a replacement for a TMap<FIntPoint, ValueType>, where FIntPoint is a 2D key and ValueType, the type of object to store. It uses bit arrays to note the presence of an object and the 2D key to index it. The advantage is that the key can trivially be turned into linear index (and vice-versa), derived from the bounds of all registered keys. It is meant to be used as a temporary helper, which is why there are currently no Add/Remove functions (all objects are registered in the constructor) but this could be done eventually, and even replace ULandscapeInfo's XYToComponentMap entirely