Navigation
API > API/Runtime > API/Runtime/Landscape
TODO [jonathan.bard] : When global merge is a thing of the past, we should pass FOnRenderBatchTargetGroupDoneParams here, or extract some of its higher-level information, because there is a lot more useful information accessible in there (components being rendered, target layers, validity render targets, etc.)
| Name | FOnLandscapeEditLayersMergedParams |
| Type | struct |
| Header File | /Engine/Source/Runtime/Landscape/Classes/Landscape.h |
| Include Path | #include "Landscape.h" |
Syntax
struct FOnLandscapeEditLayersMergedParams
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FOnLandscapeEditLayersMergedParams
(
UTextureRenderTarget* InRenderTarget, |
Landscape.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsHeightmapMerge | bool | Landscape.h | ||
| RenderAreaResolution | FIntPoint | 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. | Landscape.h | |
| RenderTarget | UTextureRenderTarget * | 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 | Landscape.h |