Navigation
API > API/Runtime > API/Runtime/Landscape > API/Runtime/Landscape/ULandscapeComponent > API/Runtime/Landscape/ULandscapeComponent/ReallocateWeightmaps
References
| Module | Landscape |
| Header | /Engine/Source/Runtime/Landscape/Classes/LandscapeComponent.h |
| Include | #include "LandscapeComponent.h" |
| Source | /Engine/Source/Runtime/Landscape/Private/LandscapeEdit.cpp |
TArray< UTexture * > ReallocateWeightmaps
(
FLandscapeEditDataInterface * DataInterface,
const FGuid & InEditLayerGuid,
bool bInSaveToTransactionBuffer,
bool bInForceReallocate,
ALandscapeProxy * InTargetProxy,
TSet< ULandscapeComponent * > * InRestrictSharingToComponents
)
Remarks
Create weightmaps for this component for the layers specified in the WeightmapLayerAllocations array, works in the specified edit layer