Navigation
API > API/Runtime > API/Runtime/Landscape > API/Runtime/Landscape/FMergeRenderBatch
References
| Module | Landscape |
| Header | /Engine/Source/Runtime/Landscape/Public/LandscapeEditLayerRenderer.h |
| Include | #include "LandscapeEditLayerRenderer.h" |
| Source | /Engine/Source/Runtime/Landscape/Private/LandscapeEditLayerRenderer.cpp |
int32 ComputeSubsectionRects
(
ULandscapeComponent * InComponent,
TArray< FIntRect, TInlineAllocator< 4 > > & OutSubsectionRects,
TArray< FIntRect, TInlineAllocator< 4 > > & OutSubsectionRectsWithDuplicateBorders
) const
Remarks
Find the area in the render batch render target corresponding to each of the subsections of this component number of subsections
Parameters
| Name | Description |
|---|---|
| InComponent | Which component to compute the subsection rects for |
| OutSubsectionRects | List of (up to 4) subsection rects when not taking into account duplicate borders (inclusive bounds) |
| OutSubsectionRectsWithDuplicateBorders | List of (up to 4) subsection rects when taking into account duplicate borders (inclusive bounds) |
| bInWithDuplicateBorders | indicates whether the rect coordinates should include the duplicated column/row at the end of the subsection or not |