Navigation
API > API/Runtime > API/Runtime/Landscape > API/Runtime/Landscape/FEditLayerTargetTypeState
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsActive
(
ELandscapeToolTargetType InTargetType, |
Indicates whether a given target type is currently active in this state | LandscapeEditLayerTargetTypeState.h | |
bool IsActive
(
ELandscapeToolTargetType InTargetType, |
Indicates whether a given target type is currently active in this state | LandscapeEditLayerTargetTypeState.h |
IsActive(ELandscapeToolTargetType, const FName &)
Description
Indicates whether a given target type is currently active in this state
| Name | IsActive |
| Type | function |
| Header File | /Engine/Source/Runtime/Landscape/Public/LandscapeEditLayerTargetTypeState.h |
| Include Path | #include "LandscapeEditLayerTargetTypeState.h" |
| Source | /Engine/Source/Runtime/Landscape/Private/LandscapeEditLayerTargetTypeState.cpp |
bool IsActive
(
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 |
IsActive(ELandscapeToolTargetType, int32)
Description
Indicates whether a given target type is currently active in this state
| Name | IsActive |
| Type | function |
| Header File | /Engine/Source/Runtime/Landscape/Public/LandscapeEditLayerTargetTypeState.h |
| Include Path | #include "LandscapeEditLayerTargetTypeState.h" |
| Source | /Engine/Source/Runtime/Landscape/Private/LandscapeEditLayerTargetTypeState.cpp |
bool IsActive
(
ELandscapeToolTargetType InTargetType,
int32 InWeightmapLayerIndex
) const
Parameters
| Name | Remarks |
|---|---|
| InTargetType | is the requested target type (heightmap/weightmap/visibility) |
| int32 | (optional) is the requested weightmap index (in FMergeContex), only relevant for the ELandscapeToolTargetType::Weightmap case. Asserts if the layer index isn't valid for the merge context (except for INDEX_NONE) |