Navigation
API > API/Runtime > API/Runtime/Landscape
Each edit layer render item represents the capabilities of what a given edit layer can render in terms of landscape data : a renderer can provide one or many render items, which contain the "locality" (what area do I affect?) as well as the "capability" (what target tool type do I affect? what weightmap(s)?) information related to what this layer item can do. See ILandscapeEditLayerRenderer::GetRenderItems
| Name | FEditLayerRenderItem |
| Type | class |
| Header File | /Engine/Source/Runtime/Landscape/Public/LandscapeEditLayerRenderer.h |
| Include Path | #include "LandscapeEditLayerRenderer.h" |
Syntax
class FEditLayerRenderItem
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| LandscapeEditLayerRenderer.h | |||
FEditLayerRenderItem
(
const FEditLayerTargetTypeState& InTargetTypeState, |
LandscapeEditLayerRenderer.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bModifyExistingWeightmapsOnly | bool | Indicates whether this render item actually outputs weightmaps (if false) or only modifies existing ones underneath (i.e. blending-only) | LandscapeEditLayerRenderer.h | |
| InputWorldArea | FInputWorldArea | Area that this render item needs in order to render properly. | LandscapeEditLayerRenderer.h | |
| OutputWorldArea | FOutputWorldArea | Area that this render item writes to. | LandscapeEditLayerRenderer.h | |
| TargetTypeState | FEditLayerTargetTypeState | Target types / weightmaps that this render item writes to | LandscapeEditLayerRenderer.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FInputWorldArea & GetInputWorldArea() |
LandscapeEditLayerRenderer.h | ||
bool GetModifyExistingWeightmapsOnly() |
LandscapeEditLayerRenderer.h | ||
const FOutputWorldArea & GetOutputWorldArea() |
LandscapeEditLayerRenderer.h | ||
const FEditLayerTargetTypeState & GetTargetTypeState() |
LandscapeEditLayerRenderer.h | ||
void SetInputWorldArea
(
const FInputWorldArea& InInputWorldArea |
LandscapeEditLayerRenderer.h | ||
void SetOutputWorldArea
(
const FOutputWorldArea& InOutputWorldArea |
LandscapeEditLayerRenderer.h |