/Engine/Source/Runtime/Landscape/Classes/LandscapeComponent.h
[TArray](API\Runtime\Core\Containers\TArray)< [FWeightmapLayerAllocationInfo](API\Runtime\Landscape\FWeightmapLayerAllocationInfo) > & GetCurrentRuntimeWeightmapLayerAllocations()