Navigation
API > API/Runtime > API/Runtime/Landscape > API/Runtime/Landscape/ULandscapeComponent
References
| Module | Landscape |
| Header | /Engine/Source/Runtime/Landscape/Classes/LandscapeComponent.h |
| Include | #include "LandscapeComponent.h" |
| Source | /Engine/Source/Runtime/Landscape/Private/LandscapeEdit.cpp |
void ReallocateWeightmaps
(
FLandscapeEditDataInterface * DataInterface,
bool InCanUseEditingWeightmap,
bool InSaveToTransactionBuffer,
bool InForceReallocate,
ALandscapeProxy * InTargetProxy,
TArray< UTexture * > * OutNewCreatedTextures
)
Remarks
Create weightmaps for this component for the layers specified in the WeightmapLayerAllocations array, works in the landscape current edit layer when InCanUseEditingWeightmap is true