Navigation
API > API/Runtime > API/Runtime/Landscape
Params struct passed to the merge function. It contains everything needed for requesting a given set of target layers (for weightmaps) on a given number of components and for a certain configuration of edit layers Note that this is what is requested by the caller, but in practice, there might be more renderers (e.g. some might get added e.g. legacy weight-blending, some removed because they turn out to be disabled...) and more weightmaps being rendered (e.g. a requested weightmap might depend on another one that has not been requested), or less (e.g. a requested weightmap is actually invalid) :
| Name | FMergeRenderParams |
| Type | struct |
| Header File | /Engine/Source/Runtime/Landscape/Public/LandscapeEditLayerMergeRenderContext.h |
| Include Path | #include "LandscapeEditLayerMergeRenderContext.h" |
Syntax
struct FMergeRenderParams
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMergeRenderParams
(
TArray< ULandscapeComponent* > InComponentsToMerge, |
LandscapeEditLayerMergeRenderContext.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bRequestAllLayers | bool | Ignore the computed list of requested layers and instead request all valid layers | LandscapeEditLayerMergeRenderContext.h | |
| ComponentsToMerge | TArray< ULandscapeComponent * > | List of components that need merging | LandscapeEditLayerMergeRenderContext.h | |
| EditLayerRendererStates | TArray< FEditLayerRendererState > | Requested states for every edit layer renderer participating to the merge | LandscapeEditLayerMergeRenderContext.h | |
| WeightmapLayerNames | TSet< FName > | List of weightmap layers being requested. | LandscapeEditLayerMergeRenderContext.h |