Navigation
API > API/Runtime > API/Runtime/Landscape > API/Runtime/Landscape/FEditLayerTargetTypeState
Description
Adds a weightmap to the list of active weightmaps (make sure ELandscapeToolTargetType::Weightmap is amongst the supported target types). Asserts if the layer name isn't known to the merge context.
| Name | AddWeightmapChecked |
| Type | function |
| Header File | /Engine/Source/Runtime/Landscape/Public/LandscapeEditLayerTargetTypeState.h |
| Include Path | #include "LandscapeEditLayerTargetTypeState.h" |
| Source | /Engine/Source/Runtime/Landscape/Private/LandscapeEditLayerTargetTypeState.cpp |
void AddWeightmapChecked
(
const FName & InWeightmapLayerName
)