Navigation
API > API/Runtime > API/Runtime/Landscape
References
| Module | Landscape |
| Header | /Engine/Source/Runtime/Landscape/Public/GlobalMergeLegacySupportUtil.h |
| Include | #include "GlobalMergeLegacySupportUtil.h" |
Syntax
class ILandscapeBrushRenderCallAdapter_GlobalMergeLegacySupport
Remarks
Interface that allows an edit layer UObject to receive a render call the way that a blueprint brush would in global merge mode, so that an edit layer UObject that implements custom batched merge functions can still perform its work if global merge mode is used instead.
This interface is likely to be removed once global merge is no longer used.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FIntPoint | CurrentRenderAreaSize | ||
| FTransform | CurrentRenderAreaWorldTransform | Used in RenderAsBlueprintBrush to cache things the same way that blueprint brushes do. | |
| FIntPoint | CurrentRenderTargetSize |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Called in the same places as the equivalent methods on FLandscapeLayerBrush. | ||
| bool | |||
| bool | AffectsWeightmapLayerAsBlueprintBrush
(
const FName& InLayerName |
||
| void | InitializeAsBlueprintBrush
(
const FTransform& InLandscapeTransform, |
Overridable, equivalent to Initialize_Native on a blueprint brush actor. | |
| UTextureRenderTarget2D * | RenderAsBlueprintBrush
(
const FLandscapeBrushParameters& InParameters, |
In global merge mode, this function is called in the same places that FLandscapeLayerBrush::RenderLayer(BrushParameters) is called. | |
| UTextureRenderTarget2D * | RenderLayerAsBlueprintBrush
(
const FLandscapeBrushParameters& InParameters |
Overridable, equivalent to RenderLayer_Native on a blueprint brush actor. |