UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FOnLandscapeEditLayersMergedParams Struct Reference

#include <Landscape.h>

Public Member Functions

 FOnLandscapeEditLayersMergedParams (UTextureRenderTarget *InRenderTarget, const FIntPoint &InRenderAreaResolution, bool bInIsHeightmapMerge)
 

Public Attributes

UTextureRenderTargetRenderTarget = nullptr
 
FIntPoint RenderAreaResolution = FIntPoint(ForceInit)
 
bool bIsHeightmapMerge = false
 

Constructor & Destructor Documentation

◆ FOnLandscapeEditLayersMergedParams()

FOnLandscapeEditLayersMergedParams::FOnLandscapeEditLayersMergedParams ( UTextureRenderTarget InRenderTarget,
const FIntPoint InRenderAreaResolution,
bool  bInIsHeightmapMerge 
)
inline

Member Data Documentation

◆ bIsHeightmapMerge

bool FOnLandscapeEditLayersMergedParams::bIsHeightmapMerge = false

◆ RenderAreaResolution

FIntPoint FOnLandscapeEditLayersMergedParams::RenderAreaResolution = FIntPoint(ForceInit)

Actual resolution of this render : render targets are usually sized larger than the effective resolution at this point, so this needs to be used instead. Note : it's the true resolution of the landscape : at this point, there are no duplicate vertices in the render target.

◆ RenderTarget

UTextureRenderTarget* FOnLandscapeEditLayersMergedParams::RenderTarget = nullptr

Render target of the section of landscape that was rendered (important note: the render target's resolution can be larger than the actual landscape resolution, so RenderAreaResolution must be used. In the case of weightmaps, the render target will actually be a UTextureRenderTarget2DArray


The documentation for this struct was generated from the following file: