Navigation
API > API/Runtime > API/Runtime/Landscape > API/Runtime/Landscape/ULandscapeInfo
References
| Module | Landscape |
| Header | /Engine/Source/Runtime/Landscape/Classes/LandscapeInfo.h |
| Include | #include "LandscapeInfo.h" |
| Source | /Engine/Source/Runtime/Landscape/Private/Landscape.cpp |
bool GetOverlappedComponents
&40;
const FTransform & InAreaWorldTransform,
const FBox2D & InAreaExtents,
TMap< FIntPoint, ULandscapeComponent &42; > & OutOverlappedComponents,
FIntRect & OutComponentIndicesBoundingRect
&41;
Remarks
Retrieve the components currently loaded that overlap with a given "window" area true if at least one overlapped component
Parameters
| Name | Description |
|---|---|
| InAreaWorldTransform | : transform of the requested area (at the center) |
| InAreaExtents | : extents of requested area (i.e. around the center) |
| OutOverlappedComponents | : loaded components that overlap this area (key = xy index of the component, value = component) |
| OutComponentIndicesBoundingRect | : bounding rectangle of the overlapped components, in component index space, with the max being exclusive. For instance a rectangle with min=(0,0) and max=(2,1) includes components (0,0) and (1,0). |