Navigation
API > API/Runtime > API/Runtime/Landscape
References
| Module | Landscape |
| Header | /Engine/Source/Runtime/Landscape/Public/LandscapeEditLayerRenderer.h |
| Include | #include "LandscapeEditLayerRenderer.h" |
Syntax
struct FMergeRenderParams
Remarks
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) :
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bIsHeightmapMerge | COMMENT [jonathan.bard] : purposefully don't use ELandscapeToolTargetType here as ELandscapeToolTargetType::Weightmap and ELandscapeToolTargetType::Visibility have to be processed together (because of weightmap packing, which means a visibility weightmap could be another channel of a texture which contains weightmap up to 3 other weightmaps, so we have to resolve the 4 channels altogether). | |
| TArray< ULandscapeComponent * > | ComponentsToMerge | List of components that need merging | |
| TArray< FEditLayerRendererState > | EditLayerRendererStates | Requested states for every edit layer renderer participating to the merge | |
| ALandscape * | Landscape | Parent landscape actor to which all components to merge belong | |
| TSet< FName > | WeightmapLayerNames | List of weightmap layers being requested. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FMergeRenderParams
(
bool bInIsHeightmapMerge, |