Navigation
API > API/Runtime > API/Runtime/Landscape > API/Runtime/Landscape/ALandscapeProxy
Description
Registers an axis-aligned bounding box that will act as an exclusion volume for all landscape grass overlapping it
| Name | AddExclusionBox |
| Type | function |
| Header File | /Engine/Source/Runtime/Landscape/Classes/LandscapeProxy.h |
| Include Path | #include "LandscapeProxy.h" |
| Source | /Engine/Source/Runtime/Landscape/Private/LandscapeGrass.cpp |
static void AddExclusionBox
(
FWeakObjectPtr Owner,
const FBox & BoxToRemove
)
Parameters
| Name | Remarks |
|---|---|
| Owning | UObject of the box. Acts as an identifier of the exclusion volume. Also, when the UObject becomes stale, the box will be automatically unregistered from landscapes |
| BoxToRemove | AABBox (excluded volume) |