/Engine/Source/Runtime/Landscape/Classes/LandscapeComponent.h
Create weightmaps for this component for the layers specified in the WeightmapLayerAllocations array, works in the landscape current edit layer when InCanUseEditingWeightmap is true
void ReallocateWeightmaps ( [FLandscapeEditDataInterface](API\Runtime\Landscape\FLandscapeEditDataInterface) * DataInterface, bool InCanUseEditingWeightmap, bool InSaveToTransactionBuffer, bool InForceReallocate, [ALandscapeProxy](API\Runtime\Landscape\ALandscapeProxy) * InTargetProxy, [TArray](API\Runtime\Core\Containers\TArray)< [UTexture](API\Runtime\Engine\Engine\UTexture) * > * OutNewCreatedTextures )