Navigation
API > API/Runtime > API/Runtime/Landscape > API/Runtime/Landscape/FEditLayerRendererState
Description
Indicates whether a given target type and weightmap layer name is currently supported and enabled by this renderer. Asserts if the layer name isn't known to the merge context (except if NAME_None)
| Name | IsTargetActiveChecked |
| Type | function |
| Header File | /Engine/Source/Runtime/Landscape/Public/LandscapeEditLayerRendererState.h |
| Include Path | #include "LandscapeEditLayerRendererState.h" |
| Source | /Engine/Source/Runtime/Landscape/Private/LandscapeEditLayerRendererState.cpp |
bool IsTargetActiveChecked
(
ELandscapeToolTargetType InTargetType,
const FName & InWeightmapLayerName
) const
Parameters
| Name | Remarks |
|---|---|
| InTargetType | the requested target type (heightmap/weightmap/visibility) |
| InWeightmapLayerName | (optional) is the requested weightmap, only relevant for the ELandscapeToolTargetType::Weightmap case |