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/LandscapeEditInterface.cpp |
bool DeleteLayerIfAllZero
(
const FGuid & InEditLayerGuid,
const uint8 *const TexDataPtr,
int32 TexSize,
int32 LayerIdx,
bool bShouldDirtyPackage
)
Remarks
Deletes a layer from this component if it does not contain data, calling DeleteLayerAllocation.