Navigation
API > API/Runtime > API/Runtime/Landscape
Global info about the landscape being merged that can be used throughout the merge.
| Name | FMergeContext |
| Type | class |
| Header File | /Engine/Source/Runtime/Landscape/Public/LandscapeEditLayerMergeContext.h |
| Include Path | #include "LandscapeEditLayerMergeContext.h" |
Syntax
class FMergeContext
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMergeContext
(
ALandscape* InLandscape, |
LandscapeEditLayerMergeContext.h | ||
FMergeContext
(
FMergeContext&& Other |
LandscapeEditLayerMergeContext.h | ||
FMergeContext
(
const FMergeContext& Other |
LandscapeEditLayerMergeContext.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FMergeContext() |
LandscapeEditLayerMergeContext.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FTargetLayerGroupsPerBlendingMethod | TStaticArray< TArray< FTargetLayerGroup >, static_cast< uint8 >(ELandscapeTargetLayerBlendMethod::Count)> | LandscapeEditLayerMergeContext.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ALandscape | friend | LandscapeEditLayerMergeContext.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TArray< FTargetLayerGroup > BuildGenericBlendTargetLayerGroups
(
const TBitArray<>& InTargetLayerBitIndices |
Return the target layer groups for the renderers performing the generic blend. | LandscapeEditLayerMergeContext.h | |
TBitArray BuildTargetLayerBitIndices
(
bool bInBitValue |
LandscapeEditLayerMergeContext.h | ||
TArray< ULandscapeLayerInfoObject * > ConvertTargetLayerBitIndicesToLayerInfos
(
const TBitArray<>& InTargetLayerBitIndices |
LandscapeEditLayerMergeContext.h | ||
| LandscapeEditLayerMergeContext.h | |||
| LandscapeEditLayerMergeContext.h | |||
| LandscapeEditLayerMergeContext.h | |||
void ForEachTargetLayer
(
const TBitArray<>& InTargetLayerBitIndices, |
Runs the given function for each all valid target layer in the bit indices in parameters, with the possibility of early exit Most easily used with a lambda as follows: ForEachTargetLayer(int32 InTargetLayerIndex, [FName](API/Runtime/Core/FName) InTargetLayerName -> bool { return continueLoop ? true : false; }); | LandscapeEditLayerMergeContext.h | |
void ForEachValidTargetLayer
(
TFunctionRef< bool(int32, const FName&, ULandscapeLayerInfoObject*)> Fn |
Same as ForEachTargetLayer but skips over invalid target layers | LandscapeEditLayerMergeContext.h | |
| LandscapeEditLayerMergeContext.h | |||
const TArray< ULandscapeLayerInfoObject * > & GetAllWeightmapLayerInfos() |
LandscapeEditLayerMergeContext.h | ||
ALandscape * GetLandscape() |
LandscapeEditLayerMergeContext.h | ||
ULandscapeInfo * GetLandscapeInfo() |
LandscapeEditLayerMergeContext.h | ||
const TBitArray & GetNegatedVisibilityTargetLayerMask() |
Same as GetVisibilityTargetLayerMask() but negated | LandscapeEditLayerMergeContext.h | |
const FTargetLayerGroupsPerBlendingMethod & GetTargetLayerGroupsPerBlendingMethod() |
LandscapeEditLayerMergeContext.h | ||
int32 GetTargetLayerIndexForLayerInfo
(
ULandscapeLayerInfoObject* InLayerInfo |
LandscapeEditLayerMergeContext.h | ||
int32 GetTargetLayerIndexForLayerInfoChecked
(
ULandscapeLayerInfoObject* InLayerInfo |
LandscapeEditLayerMergeContext.h | ||
int32 GetTargetLayerIndexForName
(
const FName& InName |
LandscapeEditLayerMergeContext.h | ||
int32 GetTargetLayerIndexForNameChecked
(
const FName& InName |
LandscapeEditLayerMergeContext.h | ||
ULandscapeLayerInfoObject * GetTargetLayerInfoForIndex
(
int32 InIndex |
LandscapeEditLayerMergeContext.h | ||
ULandscapeLayerInfoObject * GetTargetLayerInfoForName
(
const FName& InName |
LandscapeEditLayerMergeContext.h | ||
ULandscapeLayerInfoObject * GetTargetLayerInfoForNameChecked
(
const FName& InName |
LandscapeEditLayerMergeContext.h | ||
FName GetTargetLayerNameForIndex
(
int32 InIndex |
LandscapeEditLayerMergeContext.h | ||
FName GetTargetLayerNameForIndexChecked
(
int32 InIndex |
LandscapeEditLayerMergeContext.h | ||
const TBitArray & GetValidTargetLayerBitIndices() |
LandscapeEditLayerMergeContext.h | ||
| LandscapeEditLayerMergeContext.h | |||
int32 GetVisibilityTargetLayerIndex() |
LandscapeEditLayerMergeContext.h | ||
const TBitArray & GetVisibilityTargetLayerMask() |
LandscapeEditLayerMergeContext.h | ||
bool IsHeightmapMerge() |
LandscapeEditLayerMergeContext.h | ||
int32 IsTargetLayerIndexValid
(
int32 InIndex |
LandscapeEditLayerMergeContext.h | ||
int32 IsValidTargetLayerName
(
const FName& InName |
LandscapeEditLayerMergeContext.h | ||
int32 IsValidTargetLayerNameChecked
(
const FName& InName |
LandscapeEditLayerMergeContext.h | ||
bool ShouldSkipProceduralRenderers() |
LandscapeEditLayerMergeContext.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMergeContext & operator=
(
const FMergeContext& Other |
LandscapeEditLayerMergeContext.h | ||
FMergeContext & operator=
(
FMergeContext&& Other |
LandscapeEditLayerMergeContext.h |