Navigation
API > API/Runtime > API/Runtime/Landscape
Inheritance Hierarchy
- ILandscapeEditLayerRenderer
- ULandscapeEditLayerPersistent
- ULandscapeEditLayer
- ULandscapeEditLayerSplines
References
| Module | Landscape |
| Header | /Engine/Source/Runtime/Landscape/Public/LandscapeEditLayerRenderer.h |
| Include | #include "LandscapeEditLayerRenderer.h" |
Syntax
class ILandscapeEditLayerRenderer
Remarks
Interface that needs to be implemented for anything that can render heightmap/weightmap/visibility when merging landscape edit layers. Ideally it would have been defined in the UE::Landscape::EditLayers namespace but UHT prevents us from doing so. The renderers are provided to the landscape by a IEditLayerRendererProvider.
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | CanRender () |
Indicates whether the renderer actually does anything in the render phase | |
| FString | |||
| void | GetRendererStateInfo
(
const ULandscapeInfo* InLandscapeInfo, |
GetRendererStateInfo retrieves the current state of this renderer (what it can and does render, as well as how to group target layers together), and part of this will then be mutable for the duration of the merge. | |
| TArray< UE::Landscape::EditLayers::FEditLayerRenderItem > | GetRenderItems
(
const ULandscapeInfo* InLandscapeInfo |
GetRenderItems retrieves information about the areas this renderer renders to and specifically what respective input area they require to render properly | |
| void | RenderLayer
(
ILandscapeEditLayerRenderer::FRenderParams& InRenderParams |
RenderLayer is where the renderer has a chance to render its content and eventually blend it with the merged result of all preceding layers It operates on a limited set of components (depending on the size of the render batches) and on a set of target layers (e.g. multiple weightmaps). |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FRenderParams |