Navigation
API > API/Runtime > API/Runtime/Landscape > API/Runtime/Landscape/FEditLayerRendererState
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsTargetActive
(
ELandscapeToolTargetType InTargetType, |
Indicates whether a given target type and weightmap layer name is currently supported and enabled by this renderer. | LandscapeEditLayerRendererState.h | |
bool IsTargetActive
(
ELandscapeToolTargetType InTargetType, |
Indicates whether a given target type and weightmap layer name is currently supported and enabled by this renderer. | LandscapeEditLayerRendererState.h |
IsTargetActive(ELandscapeToolTargetType, const FName &)
Description
Indicates whether a given target type and weightmap layer name is currently supported and enabled by this renderer.
| Name | IsTargetActive |
| 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 IsTargetActive
(
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 |
IsTargetActive(ELandscapeToolTargetType, int32)
Description
Indicates whether a given target type and weightmap layer name is currently supported and enabled by this renderer. Asserts if the layer index isn't known to the merge context (except if INDEX_NONE)
| Name | IsTargetActive |
| 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 IsTargetActive
(
ELandscapeToolTargetType InTargetType,
int32 InWeightmapLayerIndex
) const
Parameters
| Name | Remarks |
|---|---|
| InTargetType | the requested target type (heightmap/weightmap/visibility) |
| InWeightmapLayerIndex | (optional) is the requested weightmap's index in the merge index, only relevant for the ELandscapeToolTargetType::Weightmap case |