Navigation
API > API/Runtime > API/Runtime/Landscape > API/Runtime/Landscape/ALandscapeProxy
Description
Flush the grass cache, removing grass instances on the given components (or all proxy components if the component set is not specified). bFlushGrassMaps will delete the grass data / density maps on the components as well, but only in editor mode, and only if the grass maps are renderable (i.e. they can be regenerated).
| Name | FlushGrassComponents |
| Type | function |
| Header File | /Engine/Source/Runtime/Landscape/Classes/LandscapeProxy.h |
| Include Path | #include "LandscapeProxy.h" |
| Source | /Engine/Source/Runtime/Landscape/Private/LandscapeGrass.cpp |
void FlushGrassComponents
(
const TSet< ULandscapeComponent * > * OnlyForComponents,
bool bFlushGrassMaps
)