Navigation
API > API/Runtime > API/Runtime/Landscape > API/Runtime/Landscape/ULandscapeComponent
Description
If the LandscapeMaterial has changed, updates the GrassTypes array. Returns true if the GrassTypes array was updated.
| Name | UpdateGrassTypes |
| Type | function |
| Header File | /Engine/Source/Runtime/Landscape/Classes/LandscapeComponent.h |
| Include Path | #include "LandscapeComponent.h" |
| Source | /Engine/Source/Runtime/Landscape/Private/LandscapeGrass.cpp |
bool UpdateGrassTypes
(
bool bForceUpdate
)